SMART datagrid v1.4 > Classes > DataColumn

Back  Forward

DataLudi.DataColumn.addFilters  method

컬럼 필터들을 추가한다. 

추가된 필터는 activateFilterstoggleFilters로 적용시킬수 있다. 

function addFilters (filters: Arary, overwrite: Boolean);
Returns
Void
Parameters
filters - Arary. required.
overwrite - Boolean. 기본값은 false.
Code -1
    column.addFilters([{
        name: 'filter1',
        criteria: 'value == "earth"',
        active: false
    }, {
        name: 'filter2',
        criteria: 'value == "moon"',
        active: true
    }]);
See Also
filters
activateFilters
toggleFilters
removeFilters
clearFilters
ColumnFilter
Examples
컬럼 필터링