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

Can you pass searchData through rows().every()

$
0
0

Link to test case: https://jsfiddle.net/BeerusDev/vzehsqn8/213/

I am returning back to my original test case that works 90%, it makes no sense for me to even try and change the data structure (Even if It could possible save me 90 lines worth of code). In my rows.every(), I have a second large conditional if the result is undefined and todayStatus is n/a, so instead of that, because that happens when the searchData is outside of the current week, I would be able to set the search data to the current week then apply those counts and styles based upon that.


Viewing all articles
Browse latest Browse all 82452

Trending Articles



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