Skip to main content

grid-pro.gridprobeta.gridoptionsconfig

Home > @genesislcap/grid-pro > GridProBeta > gridOptionsConfig

GridProBeta.gridOptionsConfig property​

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.

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.

Signature:

gridOptionsConfig: GridOptionsConfig;

Example​

DI.getOrCreateDOMContainer().register([
Registration.instance<GridOptionsConfig>(GridOptionsConfig, {
headerHeight: 50,
}),
]);