SMART datagrid v.1 > Classes > ColumnAutoFilter

[ grids ver.1.3.7]   Back  Forward

DataLudi.ColumnAutoFilter.active  property

Only if specify this property as true, the filter will be applied. 

It is the Default Property of this class. 

Defaults to false.

Getter
function active(): Boolean
Setter
function setActive(value: Boolean)
Code -1
    $('#toggleAutoFilter').click(function () {
        var col = grid.columnByName('colName');
        col.setAutoFilter({
            active: col.autoFilter().active()
        });
        // or, since it is the default property, you can simply write as below.
        col.setAutoFilter(col.autoFilter().active());
    });
See Also
maxCount
Examples
Column Auto Filter
Column Filtering