This topic is locked

List view - double click row to edit inline

5/12/2010 11:01:52 AM
PHPRunner General questions
D
dovercomputers author

Is there any way possible, when in list view, to double click anywhere on a row to open the inline edit on that row?
Cheers

Jim

J
Jane 5/13/2010

Hi,
you need to edit generated classes/listpage.php file for this purpose. Find this line:

$row["rowattrs"].= " rowid=\"".$this->rowId."\"";



and replace it with this one:

$row["rowattrs"].= " rowid=\"".$this->rowId."\" ondblclick=\"$('#ieditlink".$this->id."_".($this->recId+1)."').click();\"";
D
dovercomputers author 5/14/2010



Hi,
you need to edit generated classes/listpage.php file for this purpose. Find this line:

$row["rowattrs"].= " rowid=\"".$this->rowId."\"";



and replace it with this one:

$row["rowattrs"].= " rowid=\"".$this->rowId."\" ondblclick=\"$('#ieditlink".$this->id."_".($this->recId+1)."').click();\"";



Thank you Jane.
I tried this and it had no effect. Shading still occurs on row rollover, no error is show, but double clicking has no effect.
Jim

J
Jane 5/14/2010

Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.