Check documentation for the latest version of dhtmlxSuite makeFilter DHTMLX Docs

makeFilter

makes a filter from any input element (text filter), select (dropdown) or DIV (combobox based on dhtmlxCombo)

void makeFilter(id|HTMLElement id,number column,boolean preserve);
idid|HTMLElementinput id or input HTML object
columnnumberindex of a column
preservebooleanfilter the current state or the initial one (optional, false by default)

Available only in PRO Edition

Example

//minimal parameters set
myGrid.makeFilter("some_el",0); 
//maximal parameters set
myGrid.makeFilter("some_el",0,true);

Back to top