@gridkitjs/react 0.0.0-dev-20261112193051 → 0.0.0-dev-20261112193732
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -159,7 +159,9 @@ interface DataGridApi<Row> extends GridExportApi, GridPrintApi, GridPanelApi {
|
|
|
159
159
|
* Puts back state saved earlier, whole or in part — from `getState()`, or
|
|
160
160
|
* from `serializeGridState` and back through JSON. Each slice given is set
|
|
161
161
|
* as its setter would set it, firing its callback when it changes; the
|
|
162
|
-
* grid re-renders once.
|
|
162
|
+
* grid re-renders once. Saved state is read by its `version`; one without
|
|
163
|
+
* a version, saved by an earlier release, still restores, and one newer
|
|
164
|
+
* than this release reads throws.
|
|
163
165
|
*/
|
|
164
166
|
restoreState(saved: Partial<GridState<Row>> | Partial<SerializedGridState<Row>>): void;
|
|
165
167
|
/**
|