SMART datagrid v1.4 > Classes > DataColumn

Back  Forward

DataLudi.DataColumn.activateFilters  method

매개변수 filterNames로 지정한 컬럼 필터들을 적용 시키거나 취소 시킨다. 

function activateFilters (filterNames: [String], active: Boolean);
Returns
Void
Parameters
filterNames - [String]. required.
active - Boolean. required.
Code -1
    $('#filter1').click(function () {
        var column = grid.focusedColumn();
        if (column instanceof DataColumn) {
            column.activateFilters(['filter1', 'filter2'], true);
        }
    });
See Also
filters
activateAllFilters
getActiveFilters
toggleAllFilters
toggleFilters
ColumnFilter
Examples
컬럼 필터링