(
beans: BeanCollection,
options: ManagedGridOptions<TDataUpdate>
)
| 30 | } |
| 31 | |
| 32 | export 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 | } |
no test coverage detected