Index
Constructors
Public Methods
- getCellType
- getDefaultRenderer
- getDefaultRendererByType
- getRenderer
- registerRenderer
- setDefaultRenderer
Constructors
constructor
⊕ new GridCellRendererStore(options: EasyGridOptions): GridCellRendererStore
Parameters:
- options: EasyGridOptions
Public Methods
getCellType
▸ getCellType(dataType: DataType): CellRendererType
Parameters:
- dataType: DataType
Returns CellRendererType
getDefaultRenderer
▸ getDefaultRenderer(columnType: DataType): GridCellRenderer
Parameters:
- columnType: DataType
Returns GridCellRenderer
getDefaultRendererByType
▸ getDefaultRendererByType(rendererType: CellRendererType): GridCellRenderer
Parameters:
- rendererType: CellRendererType
Returns GridCellRenderer
getRenderer
▸ getRenderer(name: string
): (value: any
, column: GridColumn, cellElement: HTMLElement
, rowElement: HTMLElement
) => void
Parameters:
- name:
string
Returns (value: any
, column: GridColumn, cellElement: HTMLElement
, rowElement: HTMLElement
) => void
registerRenderer
▸ registerRenderer(name: string
,renderer: GridCellRenderer
): void
Parameters:
- name:
string
- renderer:
GridCellRenderer
Returns void
setDefaultRenderer
▸ setDefaultRenderer(cellType: CellRendererType,renderer: GridCellRenderer
): void
Parameters:
- cellType: CellRendererType
- renderer:
GridCellRenderer
Returns void