How to reset filter options to include newly added row

How to reset filter options to include newly added row

sekarbrightsekarbright Posts: 1Questions: 1Answers: 0
edited July 2014 in Free community support

Hi,

I am having a datatable created like below

$('#filterTable').dataTable({
"sDom": '<"top"l>rt<"bottom"ip><"clear">',
"aoColumnDefs": [{"bSortable": false, "aTargets": [5]}]
}).columnFilter({
aoColumns: [null, {type: "select"}, {type: "select"}, {type: "select"}, {type: "select"}, null], sPlaceHolder: "head:after"
});

At loading time it has some data and select filter is displaying the record according to the current rows.

I am adding new rows like "table.oApi._fnAddData(oSettings, json.data[i]);"

Now i need the filter option to have the updated data according to new row also.

Thanks.

This discussion has been closed.