After applying column filters and loading new data via loadData(), the filter menu behaves weirdly.
- Open this fiddle: http://jsfiddle.net/do23rv6x/1/
- Filter column A to hide “Lorem”
- Load new data via the any of the buttons (rerun before pressing another button)
- Result for 1st button: The table contains only 1 row, and you can only filter 1 value for column A. No way to display the second column.
- Result for 2nd button: The table contains only 1 row, but the filter menu still contains all old value, even those that don’t exist in the data anymore
- Result for 3rd button: The table contains 2 rows, filters are reset and work properly
In either case I would at least expect the filter values to match the actual data value, but this only applies to the 3rd case where we disable and re-enable the Filters plugin. This works as a workaround but doesn’t seem correct.