[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
Page 1 of 1

setRowDblClickCallBack

PostPosted: Thu Mar 01, 2007 7:41 pm
by dwb0407

PostPosted: Thu Mar 01, 2007 7:51 pm
by dwb0407
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

PostPosted: Thu Mar 01, 2007 9:28 pm
by dwb0407
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*

PostPosted: Sat May 26, 2007 5:25 am
by galih_302
can somebody give an example for

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

beside ref so i can access the table id or get a value.

PostPosted: Sat May 26, 2007 5:27 am
by galih_302
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