useRowCountListener
The useRowCountListener hook registers a listener that is called whenever the count of Rows in a Table changes.
useRowCountListener(
tableId: MaybeGetter<IdOrNull>,
listener: RowCountListener,
mutator?: boolean,
storeOrStoreId?: MaybeGetter<undefined | StoreOrStoreId>,
): void| Type | Description | |
|---|---|---|
tableId | MaybeGetter<IdOrNull> | The |
listener | RowCountListener | The function to call when the |
mutator? | boolean | An optional boolean indicating the listener mutates |
storeOrStoreId? | MaybeGetter<undefined | StoreOrStoreId> | |
| returns | void | This has no return value. |
Since
v8.1.0