ajax themeroller row loss colour

ajax themeroller row loss colour

miqtmiqt Posts: 1Questions: 0Answers: 0
edited March 2012 in General
Hi,
i have this function (and le-frog theme)

[code]
function createTable()
{
oTable = $('#sysData').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"aoColumnDefs": [{ "bSearchable": false, "bVisible": false, "aTargets": [ 0 ] }]
});


$("#sysData tbody tr").click( function( e ) {
if ( $(this).hasClass("row_selected") ) {
$(this).removeClass("row_selected");

}

else {

oTable.$("tr.row_selected").removeClass("row_selected");

$(this).addClass("row_selected");

}
$("#sysEliminaButton").button( "enable" );
userId = oTable.fnGetData( this, 0 );

//selected($(this).attr("id"));

alert("QUA");
});


$("#sysData tbody tr").dblclick( function( e ) {

userId = oTable.fnGetData( this, 0 );
$("#dialog-form").load("/insertutente?id="+userId);

dialogInsert.dialog( "open" );


});
}
[/code]

i call it in when load a page, look is ok, otherwise when i call it with ajax trick

[code]

[/code]

where refleshLoad contain a call to createTable, i have color table ok (i use le-frog) but the rows have incorrect color. is existing a solutions?
This discussion has been closed.