GridColumnList class

Index

Constructors

Public Accessors

Public Methods

Constructors


constructor

⊕ new GridColumnList(columnList: DataColumnList,grid: EasyGrid): GridColumnList

Parameters:


Public Accessors


count

⇄ get count(): number

Returns number


Public Methods


add

▸ add(col: GridColumn): number

Parameters:

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:

Returns void


put

▸ put(index: number,col: GridColumn): void

Parameters:

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