[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 - How to get clicked row's ID after ajax-paging or sorting?
Page 1 of 2

How to get clicked row's ID after ajax-paging or sorting?

PostPosted: Thu Aug 02, 2007 5:14 pm
by mekkelek

PostPosted: Tue Aug 07, 2007 5:37 pm
by paulwarren
I too would like to know this. I want to use the context menu but it would need the id of the row it's performing on but after sorting, anything set, gets erased.

PostPosted: Fri Nov 30, 2007 8:39 pm
by Ureka
Dont know if this is what you mean but this is how I've done it.

tableWidgetObj.setRowDblClickCallBack('openAlbum');
function openAlbum(rowEl)
{
parent.paneSplitter.loadContent('center','/admin/redir.asp?PageId='+rowEl.cells[0].innerText);
}

Instead of cells you can use rows, whatever you prefer