collectValues
returns an array of unique values of the specified column
function collectValues( // the column id id: id, // the configuration object (details below) mode?: WebixDatatableCollectValuesConfig): array
Returns
Section titled “Returns”array
an array of unique values
Details
Section titled “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
:
datagrid.collectValues("columnId", { visible:true });