grid-pro.gridpro.applytemplatedefinitions
Home > @genesislcap/grid-pro > GridPro > applyTemplateDefinitions
GridPro.applyTemplateDefinitions() method
Warning: This API is now obsolete.
use
applyTemplateDefinitionsinstead.
Will merge templated column definitions with columnDefs plus localStorage's column state or deferredColumnStates.
Signature:
applyTemplateDefinitions(columnDefs: ColDef[], deferredColumnDefsOrState?: boolean): Promise<ColDef<any>[]>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
columnDefs |
ColDef[] |
The column definitions to apply to the grid. |
|
deferredColumnDefsOrState |
boolean |
(Optional) If true, will merge the column definitions with the saved column state or the |
Returns:
Promise<ColDef<any>[]>
The merged column definitions.