grid-pro.gridprobeta
Home > @genesislcap/grid-pro > GridProBeta
GridProBeta class
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The Grid Pro element (AG Grid v35 compatible).
Signature:
export declare class GridProBeta extends GridProBeta_base
Extends: GridProBeta_base
Remarks
Re-emits AG Grid public API events when listeners are registered via addEventListener (event names match AG Grid public event strings). The same AG Grid events are also dispatched as native Events with lowercased type and payload on agGridDetails (for example addEventListener('columnresized', ...)).
Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
(BETA) Constructs a new instance of the |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
Record<string, any> |
(BETA) | |
|
GridApi |
(BETA) | ||
|
|
GridOptions |
(BETA) | |
|
|
Record<string, string> |
(BETA) | |
|
boolean |
(BETA) | ||
|
string |
(BETA) | ||
|
string |
(BETA) | ||
|
(prefix: string, gridErrorItems: GridProErrorItem<any>[]) => ViewTemplate |
(BETA) (Optional) Custom error handler dialog template function. | ||
|
boolean |
(BETA) If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef | ||
|
boolean |
(BETA) If true, will enable row flashing for all rows for | ||
|
(BETA) | |||
|
GridApi |
(BETA) | ||
|
boolean |
(BETA) Boolean attribute to control whether the grid autosizes the columns upon interaction. This will disable the column widths from being manually set, and doesn't save the widths in local storage if you are using | ||
|
{ [componentName: string]: any; } |
(BETA) | ||
|
GridProErrorItem<GridProErrorEvent['detail']>[] |
(BETA) | ||
|
GridOptions | |||
|
(BETA) Injectable config that allows to change grid options on an app level basis To modify options, register instance of the config in DOM container that is above the grid or on the top level of the application, so it applies to all grids. | |||
|
|
GridParams | ||
|
|
Get the datasource element. | ||
|
HTMLSlotElement |
(BETA) | ||
|
The case type to use for the header names. If not set, the default CONSTANT_CASE will be used. | |||
|
number |
(BETA) | ||
|
|
boolean |
(BETA) | |
|
|
boolean | ||
|
|
string[] |
(BETA) | |
|
boolean |
(BETA) | ||
|
boolean |
(BETA) Enable pagination for the grid. | ||
|
number |
(BETA) Number of rows per page when pagination is enabled. | ||
|
string |
(BETA) The key to use for persisting the column state in local browser or KV storage. | ||
|
string |
(BETA) The key to use for persisting the filter model in local browser or KV storage. | ||
|
any |
(BETA) | ||
|
any[] |
The row data to display in the grid. | ||
|
number |
(BETA) | ||
|
(BETA) | |||
|
(BETA) Configuration for the grid status bar components. | |||
|
'light' | 'dark' |
(BETA) | ||
|
boolean |
(BETA) Enables or disables the grid status bar. |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
(BETA) Adds an event listener to the grid element. | ||
|
(BETA) | ||
|
(BETA) | ||
|
Clears the local grid options, this is used to clear the grid options when the grid is restarted. | ||
|
(BETA) | ||
|
(BETA) | ||
|
(BETA) | ||
|
(BETA) | ||
|
Gets the saved grid ColumnState[] from storage | ||
|
Gets the currently selected rows from the grid | ||
|
(BETA) | ||
|
Checks if any rows are currently selected | ||
|
(BETA) | ||
|
mergeAllColumnDefsAndStates(columnDefs, deferredColumnDefsOrState) |
Will merge templated column definitions with | |
|
(BETA) | ||
|
(BETA) | ||
|
(BETA) | ||
|
|
(BETA) | |
|
(BETA) | ||
|
Updates the label-value status bar component with new label and value |