setCellFilter

creates a select filter

void setCellFilter(number rowId,number columnId,string|array options);

Parameters

rowIdnumberthe row id
columnIdnumberthe column id
optionsstring|arraya range of cells references the values of which will be filtered or an array of filter options

Example

// an array of options
$$("ss1").setCellFilter(1,2, ["", "Europe", "Asia", "America"]);
// a range of cells references
$$("ss1").setCellFilter(2,2, "B3:B7");

Related samples

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript web framework and page of web based spreadsheet product.