collectValues

returns an array of unique values of the specified column

array collectValues(id id,object mode);

Parameters

ididthe column id
modeobjectthe configuration object (details below)

Returns

arrayan array of unique values
Details

If you want filter options to be collected from the column values and not from the column options/collection, you can pass the mode parameter with visible:true:

$$("datatable1").collectValues("columnId", { visible:true });
Back to top
If you have not checked yet, be sure to visit site of our main product Webix html5 library and page of datatable js product.