Skip to Content
APIAG GriduseGridStore

useGridStore composable

Composable to create a grid store for AG Grid.

Pass reactive props with toRef, e.g. useGridStore(toRef(props, "data")).

Tip

This API reference is automatically generated from the source code  of the @jsoc/vue-grid-ag  package.

Signature

Parameters:
NameTypeDefault
dataMaybeRefOrGetter<GridData>
configGeneratorOptionsPluginConfigGeneratorOptions<PluginConfigAg> | Ref<PluginConfigGeneratorOptions<PluginConfigAg> | undefined, PluginConfigGeneratorOptions<...> | undefined> | ShallowRef<...> | WritableComputedRef<...> | ComputedRef<...> | (() => PluginConfigGeneratorOptions<...> | undefined)
Returns:
ShallowRef<GridStore<PluginConfigAg>>