SMART datagrid v1.4 > Classes > ColumnFilter

Back  Forward

DataLudi.ColumnFilter.name  property

컬럼 필터의 이름. 

DataColumn.getFilter로 필터를 찾거나, activateFilters 등으로 필터를 적용할 때 사용된다. 

기본값은 null.

Getter
function name(): String
Setter
function setName(value: String)
Code -1
    grid.setColumns([{
        name: 'col_1',
        filters: [{
            name: 'filter_01',
            expression: "value > 10"
        }]
    },
    ...
    ]);
Code -2
    var column = grid.columnByName('col_01');
    var filter = column.getFilter('filter_01');
    filter.setActive(!filter.active());
See Also
text
description
DataColumn.filters
DataColumn.getFilter
DataColumn.activateFilters
Examples
컬럼 필터링