Jquery datatable - Selected row hightlight issue

Jquery datatable - Selected row hightlight issue

hellojava1234hellojava1234 Posts: 2Questions: 0Answers: 0
edited July 2013 in General
Hello ,

In my datatable, getting result from search button action. So first search results selected row hightlight working good , but again search those results are not highlighting .why second time selected row high light is not working good ? Please advise...

This demo not simulated the issue which i mention , but similar way the works datatable..

Demo : [demo][1]


[1]: http://jsfiddle.net/rwPFx/34/

$('#products1 tbody tr').live("click", function () {

if ($(this).hasClass('selected1')) $(this).removeClass('selected1');
else
{

$(this).siblings('.selected1').removeClass('selected1');
$(this).addClass('selected1');
}

$("#dialog-form").data('rows', oTable.fnGetData( this ));

});
This discussion has been closed.