Datatable row selection not working on pages other than first page

Datatable row selection not working on pages other than first page

itsvamshersitsvamshers Posts: 2Questions: 0Answers: 0
edited November 2012 in DataTables 1.9
the below code from select multiple rows example works well for the first page with pagination enable.
$('#example tr').click( function() {
$(this).toggleClass('row_selected');
} );

on navigation to subsequent pages... the row selection does not happen on clicking a row.

Any help towards resolving this is highly appreciated.

Have fun coding.

-Thanks.
Vamshe

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Top FAQ: http://datatables.net/faqs#events
  • ulrikeulrike Posts: 39Questions: 1Answers: 0
    working example : http://live.datatables.net/etanuj/7
This discussion has been closed.