addRowAtom: WritableAtom<null, IAddRowOptions, Promise<void>> & WithInitialValue<null> = ...

Set function adds a row or an array of rows. Adds to rowsDb if it has no missing required fields, otherwise to rowsLocal.

Param

IAddRowOptions

Example

Basic usage:

const addRow = useSetAtom(addRowAtom, tableScope);
addRow({ row: [ {...}, ... ] });

Generated using TypeDoc