Is there a way to check whether the filters are applied to the data-table in webix methods?
Regards,
Kaleem B N
Is there a way to check whether the filters are applied to the data-table in webix methods?
Regards,
Kaleem B N
if table is using static loading, then you can compare actual count with all items count:
var count = table.count();
var realCount = 0;
table.eachRow(function(){
realCount++;
}, true);
OR
realCount = Object.keys(table.data.pull).length //if you do not care IE<9
if (realCount > count) {
webix.message("filtered");
}
Thanks a lot integral… It worked …