Hi,
I need to delete the row, within the "fnRowCallback" function which will be generated dynamically.
example scenario, I am generating the row with ids within the fnRowCallback function, in that i want to delete the specific row by checking some condition for example : if if(aData[0]=='139') i need to delete that row should not allow to display in tha datatable and further it should not affect the pagination and other properties in datatable.
ex code :"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
if(aData[0]=='139'){
$('#example_'+sel_tab+'_'+id).dataTable().fnDeleteRow( 0 );
}
Please help me on this
I need to delete the row, within the "fnRowCallback" function which will be generated dynamically.
example scenario, I am generating the row with ids within the fnRowCallback function, in that i want to delete the specific row by checking some condition for example : if if(aData[0]=='139') i need to delete that row should not allow to display in tha datatable and further it should not affect the pagination and other properties in datatable.
ex code :"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
if(aData[0]=='139'){
$('#example_'+sel_tab+'_'+id).dataTable().fnDeleteRow( 0 );
}
Please help me on this