You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`defaultColDef`| Optional | Object || The default column definition (applied to all columns) |
250
+
|`defaultSort`| Optional | Object || The default sort to apply when clearing all sort |
250
251
|`getAgGridFilters`| Optional | Function || A function mapping react-admin filters to ag-grid filters |
251
252
|`getRaFilters`| Optional | Function || A function mapping ag-grid filters to react-admin filters |
252
253
|`mutationOptions`| Optional | Object || The mutation options |
@@ -301,7 +302,7 @@ In a column definition, you can use the `cellEditor` field to specify a custom c
301
302
302
303
In addition to that, `<DatagridAG>` supports using [React Admin inputs](./Inputs.md) as `cellEditor`, such as [`<TextInput>`](./TextInput.md) or even [`<ReferenceInput>`](./ReferenceInput.md).
303
304
304
-
This allows to leverage all the power of react-admin inputs in your grid, for example to edit a reference.
305
+
This allows to leverage all the power of react-admin inputs in your grid, including validation, for example to edit a reference.
305
306
306
307
To use a React Admin input as `cellEditor`, you need to pass it as a *React Element*:
You can use the `getAgGridFilters` prop to provide a function that transforms the filters from the dataProvider to the ag-grid format.
@@ -1943,7 +2000,7 @@ In a column definition, you can use the `cellEditor` field to specify a custom c
1943
2000
1944
2001
In addition to that, `<DatagridAGClient>` supports using [React Admin inputs](./Inputs.md) as `cellEditor`, such as [`<TextInput>`](./TextInput.md) or even [`<ReferenceInput>`](./ReferenceInput.md).
1945
2002
1946
-
This allows to leverage all the power of react-admin inputs in your grid, for example to edit a reference.
2003
+
This allows to leverage all the power of react-admin inputs in your grid, including validation, for example to edit a reference.
1947
2004
1948
2005
To use a React Admin input as `cellEditor`, you need to pass it as a *React Element*:
0 commit comments