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?

Jayesh Patel
2,11818 silver badges22 bronze badges
asked Feb 2, 2016 at 9:31

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;
} 
answered Feb 2, 2016 at 9:42
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

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.