Quantcast
Viewing all articles
Browse latest Browse all 82152

updating rows after table is done drawing.

so i have a table that some language needs to be replaced from English to other language (and some other HTML tweaks).
I use jQuery for that and find the appropriate columns to update. however, to permanently update the content, i need to call fnUpdate (otherwise sorting, filtering, etc, will overwrite my changes)

$('#tf2_table_ss > tbody').find('tr').each(function() 
{ 
	cell_found = $(this).find('td.tf2-ss-c15');
	oTable.fnUpdate('new language', oTable.fnGetPosition(cell_found.parent().get(0)), 3);
});


however, fnUpdate will call fnDrawCallback and thats where i put my code in (i cannot put it into fnInitComplete because then oTable does not exists just yet)

is there any way to one-time update table AFTER its been created using fnUpdate (or is there better way?)

Viewing all articles
Browse latest Browse all 82152

Trending Articles