collectValues

returns an array of unique values of the specified column

array collectValues(id id, [object mode] );
ididthe column id
modeobjectthe configuration object (details below)
arrayan array of unique values
Details

If you want the 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.