This topic is locked
[SOLVED]

 Dynamically hide Edit link on List page

5/11/2010 2:39:48 PM
PHPRunner General questions
B
billprice author

Hi,

How can I dynamically hide the Edit link in the List page?
In my results on the List page, I have a column labeled 'Status'. This column can have a value of 'locked' or 'open'.

Whenever a row has a status of 'locked', I need to hide the Edit link? Otherwise, if the status is 'open', I need these rows to display the Edit link.
Any help is appreciated.
Thanks,

Bill

Sergey Kornilov admin 5/11/2010

Use 'List page: After record processed' event and something along the lines of

if ($data["Status"]=='locked')

$record["edit_link"] = false;
B
billprice author 5/11/2010



Use 'List page: After record processed' event and something along the lines of

if ($data["Status"]=='locked')

$record["edit_link"] = false;



Tried it and it works perfect.

Thanks so much for your wonderful support!

Bill