[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - OnClick event on a table row does not work
Page 1 of 1

OnClick event on a table row does not work

PostPosted: Wed Sep 19, 2007 6:23 pm
by masterchamp

PostPosted: Fri Nov 30, 2007 8:37 pm
by Ureka

PostPosted: Fri Nov 30, 2007 8:40 pm
by masterchamp
No I have not. Can you give more details?

PostPosted: Fri Nov 30, 2007 8:46 pm
by Ureka
Create a function that you want to execute like:
function myFunction()
{
alert('show');
}

tableWidgetObj.setRowClickCallBack('myFunction');
OR
tableWidgetObj.setRowDblClickCallBack('myFunction');

If you click the row or dblClick it wil perform your function.