useRowCount
The useRowCount hook returns a reactive object reflecting the number of Rows in a Table, and registers a listener so that any changes will update .current.
useRowCount(
tableId: MaybeGetter<string>,
storeOrStoreId?: MaybeGetter<undefined | StoreOrStoreId>,
): {current: number}| Type | Description | |
|---|---|---|
tableId | MaybeGetter<string> | |
storeOrStoreId? | MaybeGetter<undefined | StoreOrStoreId> | |
| returns | {current: number} | A reactive object with a |
Since
v8.1.0