DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### collectValues(column)

Required library edition:
Required library file: dhtmlxgrid_filter.js

get all possible values in column

- column - {number} zero based index of column

Returns {array} array of all possible values in column

       //collect possible values in the 2nd column
       var values=mygrid.collectValues(1);

Please make sure that all rows are loaded before calling this method.

See also: filterBy, makeFilter, refreshFilters, getFilterElement