cancel
Showing results for 
Search instead for 
Did you mean: 

Custom grid - Remove link on rows

SOLVED

Custom grid - Remove link on rows

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?

3 REPLIES

Re: Custom grid - Remove link on rows

Hello,

 

You're creating admin grid? You should remove the edit url from your admin grid.

For example, in this tutorial: http://www.boolfly.com/magento-brand-extension-part-2/

You remove public function getRowUrl($row) {}

Problem solved? Click Accept as Solution!

Re: Custom grid - Remove link on rows

Dear @SuFe,

To remove row url on grid, you just need to edit function getRowUrl in file Grid.php as below:

 

public function getRowUrl($row){
       return false;
}
www.advancedcheckout.com - www.stableaddon.com
One Step checkout extension - Social Login extension - Gift Card extension

Re: Custom grid - Remove link on rows

 

Hi,

public function getRowUrl() {
		return "javascript:void(0)";
    }

Its also Working