This topic is locked

Highlighted Row Selection

1/3/2009 7:29:46 AM
PHPRunner General questions
S
swanside author

Is it possible to be able to click anywhere on a highlighted row in the list view to go to the edit page for that row?
I found a way in the search from July 2007, but it wont work now.
Cheers

Paul.

J
Jane 1/5/2009

Hi,
find and edit following line in teh generated ..._list.php file:

$row["rowattrs"].=" rowid=\"".$rowid."\"";

S
swanside author 1/5/2009

Hi,

find and edit following line in teh generated ..._list.php file:


WHat do I edit it to?
Thanks

J
Jane 1/6/2009

Hi,
here is a sample:

$row["rowattrs"].=" onclick=\"window.location.href='TableName_view.php?editid1=".$data["RecordID"]."';\" rowid=\"".$rowid."\"";