Result filtered total count

11 views
Skip to first unread message

MarkJ

unread,
Aug 1, 2016, 10:55:59 AM8/1/16
to select2
How can I get the current filtered total count? I can get a length on data from option
sorter :function(data) { console.log(data.length); }

If there are no more results I can't update from there. I could get it for every key press with option but need to find the way count all the filtered results.
language: {
searching: function(data) {

data is only search value.

Thank you,
MarkJ

Reply all
Reply to author
Forward
0 new messages