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

setRowDblClickCallBack

Moderators: Calcifer, slothy

setRowDblClickCallBack

Postby dwb0407 » Thu Mar 01, 2007 7:41 pm

dwb0407
 
Posts: 7
Joined: Thu Mar 01, 2007 4:29 am

Postby dwb0407 » Thu Mar 01, 2007 7:51 pm

After reviewing the documentation some more I've also tried

tableWidgetObj.setRowDblClickCallBack(function() {DoIt();});
tableWidgetObj.setRowDblClickCallBack(DoIt());

and have not achieved any better results, thank you in advance to anyone who takes the time to explain this to me.

Thanks,
Don
dwb0407
 
Posts: 7
Joined: Thu Mar 01, 2007 4:29 am

Postby dwb0407 » Thu Mar 01, 2007 9:28 pm

After wandering around reading various other forums I found a similar solution.

the correct syntax is

tableWidgetObj.setRowDblClickCallBack('DoIt');

and it works perfectly when done this way..... hope someone finds this useful

Don

*Search long enough and you'll find something*
dwb0407
 
Posts: 7
Joined: Thu Mar 01, 2007 4:29 am

Postby galih_302 » Sat May 26, 2007 5:25 am

can somebody give an example for

function DoIt(ref)
{
alert(ref);
}

beside ref so i can access the table id or get a value.
galih_302
 
Posts: 3
Joined: Wed May 23, 2007 5:49 am

Postby galih_302 » Sat May 26, 2007 5:27 am

can somebody give an example for

function DoIt(ref)
{
alert(ref);
}

beside ref so i can access the table id or get a value.
please help
galih_302
 
Posts: 3
Joined: Wed May 23, 2007 5:49 am


Return to Table script questions

Who is online

Users browsing this forum: No registered users and 2 guests

cron