MCPcopy
hub / github.com/ag-grid/ag-grid / updateGridOptions

Function updateGridOptions

community-modules/core/src/api/coreApi.ts:32–39  ·  view source on GitHub ↗
(
    beans: BeanCollection,
    options: ManagedGridOptions<TDataUpdate>
)

Source from the content-addressed store, hash-verified

30}
31
32export function updateGridOptions<TDataUpdate = any>(
33 beans: BeanCollection,
34 options: ManagedGridOptions<TDataUpdate>
35): void {
36 // NOTE: The TDataUpdate generic is used to ensure that the update options match the generic passed into the GridApi above as TData.
37 // This is required because if we just use TData directly then Typescript will get into an infinite loop due to callbacks which recursively include the GridApi.
38 beans.gos.updateGridOptions({ options });
39}

Callers 1

setGridOptionFunction · 0.85

Calls 1

updateGridOptionsMethod · 0.65

Tested by

no test coverage detected