addColumnFilters
Description
DataColumn에 하나 이상의 ColumnFilter를 등록한다.
Syntax
function addColumnFilters(column, filters)
Parameters
column
Type: String | Object
fieldName 또는 DataColumn Object
filters
Type: Array of Object | Object
ColumnFilter 배열 혹은 ColumnFilter 개체.
Return value
None.
Examples
var filters = [ {name:"filter1",criteria:"value='data1'",active:false}, {name:"filter2",criteria:"value='data2'",active:true} ]; aColumn = gridView.columnByField("content"); gridView.addColumnFilters(aColumn, filters); .... gridView.addColumnFilters("content", { name: "filter1", criteria: "value='data1'", active: false });
API Links
- toggleAllColumnFilters
- setColumnFilters
- clearColumnFilters
- activateAllColumnFilters
- activateColumnFilters