Generates a serializable object containing the exportable parts of the DataGrid state. These values can then be passed to the initialState prop or injected using the restoreState method.
initialState
restoreState
Optional
With all properties from [[GridExportStateParams]]
The exported state.
Inject the given values into the state of the DataGrid.
The exported state to restore.
Generates a serializable object containing the exportable parts of the DataGrid state. These values can then be passed to the
initialState
prop or injected using therestoreState
method.