SMART datagrid v1.4 > Classes > ColumnGroup
DataLudi.ColumnGroup.collectColumnsByField method
매개변수 fieldIndex와 dataIndex가 동일한 DataColumn들을 모두 찾아서 list 매개변수에 추가한다.
function collectColumnsByField (fieldIndex: Integer, list: Array);
- Returns
- Void
- Parameters
- fieldIndex - Integer. required.
- list - Array. required.
Code -1
var fld = parseInt($('#field').val());
var columns = [];
group.collectColumnsByField(fld, columns);
- See Also
- collectColumnsByTag
- DataColumn
- dataIndex
- Examples
- Column Grouping