Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82271

data-filter when first row is added through js

$
0
0

When adding the first row to a datatable through js the data-filter attribute from the added row is not detected. But if there is already data in the table at the time it is created that has a data-filter attribute on the column, when a new row is added through js the data-filter attribute is detected.

Example of the attribute being detected

Example of the attribute being ignored

Any idea how I can get the attribute to be detected if the first row is added through js?

Open the console to see that the filter is being picked up in the first case, but not the second.


Viewing all articles
Browse latest Browse all 82271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>