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?
Jayesh Patel
2,11818 silver badges22 bronze badges
asked Feb 2, 2016 at 9:31
1 Answer 1
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;
}
answered Feb 2, 2016 at 9:42
-
Yes, happy coding ... :)Jayesh Patel– Jayesh Patel2016年02月02日 09:48:04 +00:00Commented Feb 2, 2016 at 9:48
-
How we can do it for magento 2 admin grid?Pramod Kharade– Pramod Kharade2017年10月25日 09:37:24 +00:00Commented 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.Jayesh Patel– Jayesh Patel2017年10月25日 11:20:39 +00:00Commented Oct 25, 2017 at 11:20
default