how to reorder the index column after deleting from the table ?

how to reorder the index column after deleting from the table ?

kailasapukailasapu Posts: 7Questions: 0Answers: 0
edited February 2014 in DataTables 1.9
oTable=$('#myTable').dataTable( {
"fnDrawCallback": fnOpenClose,
"aaSorting": [[ 1, 'asc' ]],
"bSortClasses": false,
"sDom": '<"top"f>rt<"bottom"ilp><"clear">',
columns: ['', 'No'],
"aoColumnDefs": [
{ 'bSortable': false, 'aTargets': [ 0 ] }
]} );
function fnOpenClose( oSettings ) {
/* Need to redo the counters if filtered or sorted */
if ( oSettings.bSorted || oSettings.bFiltered )
{
for ( var i=0, iLen=oSettings.aiDisplay.length ; i
This discussion has been closed.