How to filter dataset?
The library provides ability to filter data by one or several criteria (applicable to all the components that operate on data).
To filter dataset you need to call the filter() method. Each time the method is called, all data is re-filtered (previous results aren't preserved).
It's possible to call the filter() method in two modes:
$$("mylist").filter("#year#","2010");
$$("grid").filter(function(obj){ if (obj.sales > 10 && obj.company == "Company 3") return true; return false; })
Related sample: 04_list/12_filtration.html