- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2016
01:34 AM
02-02-2016
01:34 AM
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?
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2016
11:31 PM
02-02-2016
11:31 PM
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
One Step checkout extension - Social Login extension - Gift Card extension
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2016
07:03 AM
02-02-2016
07:03 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2016
11:31 PM
02-02-2016
11:31 PM
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
One Step checkout extension - Social Login extension - Gift Card extension
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2016
05:27 AM
03-11-2016
05:27 AM
Re: Custom grid - Remove link on rows
Hi,
public function getRowUrl() { return "javascript:void(0)"; }
Its also Working