SMART datagrid v.1 > Classes > DataColumn

Back  Forward

DataLudi.DataColumn.filterable  property

If it is true, the user can click filter handle of this column header to change filtering state. filteringEnabled of operateOptions should also be set as true

You can specify whether it is sortable through sortable property. 

Defaults to true.

Getter
function filterable(): Boolean
Setter
function setFilterable(value: Boolean)
Code -1
    var col = grid.focusedIndex().column;
    if (!col.filterable()) {
        col.setFilterable(true);
    }
See Also
sortable
GridBase.operateOptions
filteringEnabled
Examples
Column Filtering