I need to disable some checkboxes in a grid based on certain criteria but not able to figure out from where the checkbox column is rendered.

I reached the following two files after some search, but changes in these files are not reflecting on the grid.




  • Please add your custom module's grid code so I will guide you how to add it – Aasim Goriya Feb 11 '19 at 6:08
  • @AasimGoriya I'm trying to pick it on default magento 2 catalog product grid, not the custom grid! – saiid Feb 11 '19 at 6:15
  • ok so you need to remove any columns from product grid right ? – Aasim Goriya Feb 11 '19 at 6:41
  • No, I need to disable some of the checkboxes from product grid. Once the checkbox is disabled, user cannot select those prodcuts for massactions. prntscr.com/mjewa4 – saiid Feb 11 '19 at 7:12
  • ohh I see, so you should have to add custom script on your product listing page – Aasim Goriya Feb 11 '19 at 8:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.