Custom grid - Remove link on rows
Question
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?
Solution
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;
}
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange