Index
Constructors
Public Accessors
Public Methods
Constructors
constructor
⊕ new GridColumnList(columnList: DataColumnList,grid: EasyGrid): GridColumnList
Parameters:
- columnList: DataColumnList
- grid: EasyGrid
Public Accessors
count
⇄ get count(): number
Returns number
Public Methods
add
▸ add(col: GridColumn): number
Parameters:
- col: GridColumn
Returns number
clear
▸ clear(): void
Returns void
get
▸ get(index: number
): GridColumn
Parameters:
- index:
number
Returns GridColumn
getItems
▸ getItems(): GridColumn[]
Returns GridColumn[]
move
▸ move(col: GridColumn,newIndex: number
): void
Parameters:
- col: GridColumn
- newIndex:
number
Returns void
put
▸ put(index: number
,col: GridColumn): void
Parameters:
- index:
number
- col: GridColumn
Returns void
removeAt
▸ removeAt(index: number
): void
Parameters:
- index:
number
Returns void
sync
▸ sync(columnList: DataColumnList,hasRowNumCol?: boolean
): void
Parameters:
- columnList: DataColumnList
- hasRowNumCol:
boolean
, Default value =true
Returns void