Live filtering on input fields
Live filtering on input fields
I have combined two features, dom-sort: http://datatables.net/examples/plug-ins/dom_sort.html with the multi-filter: http://datatables.net/examples/api/multi_filter.html
Anyhow if I then try and filter a column with a select box or input field in it, no results are returned until I sort that column. It appears to me that the initial table cache which is used for filtering doesn't factor in the live sort data generated by: afnSortData
So until you run a sort on the column, filtering custom fields like select, inputs, checkboxes etc doesn't work. Is there anyway to reset the sort cache prior to doing a search or a fix for this issue?
Anyhow if I then try and filter a column with a select box or input field in it, no results are returned until I sort that column. It appears to me that the initial table cache which is used for filtering doesn't factor in the live sort data generated by: afnSortData
So until you run a sort on the column, filtering custom fields like select, inputs, checkboxes etc doesn't work. Is there anyway to reset the sort cache prior to doing a search or a fix for this issue?
This discussion has been closed.
Replies