Skip to content

Commit

Permalink
docs(useDataGrid): enhance documentation with links and code clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
FXC Intelligence authored and FXC Intelligence committed Jun 1, 2024
1 parent aa2c505 commit 29ac185
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ const columns = React.useMemo<GridColDef<IPost>[]>(

### Handling Updates

With the integration of useUpdate, processRowUpdate from <DataGrid> directly interacts with the backend. This method attempts to update the row with the new values, handling the update logic internally.
With the integration of `useUpdate`, processRowUpdate from [`<DataGrid>`](https://mui.com/x/react-data-grid/editing/) directly interacts with the backend. This method attempts to update the row with the new values, handling the update logic internally.

The hook now simplifies the handling of updates by removing the need for managing form state transitions explicitly:

Expand Down

0 comments on commit 29ac185

Please sign in to comment.