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

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

Moderators: Calcifer, slothy

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

Postby mekkelek » Thu Aug 02, 2007 5:14 pm

mekkelek
 
Posts: 4
Joined: Mon Jul 30, 2007 11:27 am

Postby paulwarren » Tue Aug 07, 2007 5:37 pm

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.
paulwarren
 
Posts: 4
Joined: Tue Aug 07, 2007 5:28 pm
Location: carleton Place

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

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

Next

Return to Table script questions

Who is online

Users browsing this forum: No registered users and 4 guests

cron