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

fnInfoCallback

$
0
0
DataTables has a callback named "fnInfoCallback". At first I thought this would be the equivalent of a "onFilterCallback" (actions to take every time a filter is applied) - but I found that this callback *only* works if the sDom property includes the filter input. (To get around this I applied a class in the sDom property to make it invisible).

Basically, I'd like to be able to display the table information somewhere other than in Datatables generated elements (I think many others would like to do this too.) While you can do this by using the "fnInfoCallback", it seems illogical to me that you need to hide the filter input in order to do this. Is this a bug by any chance? (Was it intended to work this way?) Could this be something addressed in a future version?

Viewing all articles
Browse latest Browse all 82019

Trending Articles



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