Check documentation for the latest version 6.0 of dhtmlxSuite filter DHTMLX Docs

filter

Filters DataStore by provided parameters.

void filter();

Example

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

Back to top