Check documentation for the latest version of dhtmlxSuite filter DHTMLX Docs

filter

filters dataview by provided parameters

void filter(string key,string value);
keystringname of property, or custom filtering method
valuestringvalue which will be used for filtering

Example

//shows all items where Publisher == "Test"
myChart.filter("#Publisher#","Test");
//shows all items where Publisher starts from "Test"
myChart.filter(function(obj,value){
    if (obj.Publisher.indexOf(value)==0) return true;
    return false;
},"Test");

Back to top