2

I have a custom grid, that get data from my custom database.

Right now it is linking is dead and i will get a 404-not found.

Is there a way to remove the link on the rows?

1 Answer 1

7

Create below method in you block grid class:

YourModule_Adminhtml_Block_XXX_YYY_Grid extend Mage_Adminhtml_Block_Widget_Grid

public function getRowUrl($row)
{
    return false;
} 
3
  • Yes, happy coding ... :) Commented Feb 2, 2016 at 9:48
  • How we can do it for magento 2 admin grid? Commented Oct 25, 2017 at 9:37
  • @PramodKharade I didn't worked on M2, but found related forum on this link, it might be helps you. Commented Oct 25, 2017 at 11:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.