[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
Advertisement

OnClick event on a table row does not work

Moderators: Calcifer, slothy

OnClick event on a table row does not work

Postby masterchamp » Wed Sep 19, 2007 6:23 pm

masterchamp
 
Posts: 2
Joined: Wed Sep 19, 2007 6:18 pm

Postby Ureka » Fri Nov 30, 2007 8:37 pm

Ureka
 
Posts: 3
Joined: Fri Nov 30, 2007 8:33 pm

Postby masterchamp » Fri Nov 30, 2007 8:40 pm

No I have not. Can you give more details?
masterchamp
 
Posts: 2
Joined: Wed Sep 19, 2007 6:18 pm

Postby Ureka » Fri Nov 30, 2007 8:46 pm

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.
Ureka
 
Posts: 3
Joined: Fri Nov 30, 2007 8:33 pm


Return to Table script questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron