Refresh the filter index
Refresh the filter index
Table data source is DOM.
The table has filtering enabled.
I change the contents of a table cell with jquery methods like .html(), .append(), .prepend().
When i enter into filter field the term/keyword that has been added dynamically via jquery, the filter does not find the row which contains such text, even though it exists. I suppose the datatables plugin has some kind of index cache, which has to be refreshed? How can i refresh the filter index so that it rereads the contents of table cells?
The table has filtering enabled.
I change the contents of a table cell with jquery methods like .html(), .append(), .prepend().
When i enter into filter field the term/keyword that has been added dynamically via jquery, the filter does not find the row which contains such text, even though it exists. I suppose the datatables plugin has some kind of index cache, which has to be refreshed? How can i refresh the filter index so that it rereads the contents of table cells?
This discussion has been closed.