From 9b0e411eed1fb7621fba4c3fcb8b8bb692e2cf5b Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Fri, 8 Nov 2024 18:59:58 +0100 Subject: [PATCH] [docs] Fix hard coded URL domain (#15329) --- docs/data/data-grid/editing/editing.md | 5 +++-- docs/data/data-grid/filtering/header-filters.md | 2 +- docs/data/data-grid/server-side-data/index.md | 2 +- docs/data/data-grid/state/state.md | 2 +- .../migration-data-grid-v5/migration-data-grid-v5.md | 10 +++++----- 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/docs/data/data-grid/editing/editing.md b/docs/data/data-grid/editing/editing.md index 825c82b146ea..20501f86bce9 100644 --- a/docs/data/data-grid/editing/editing.md +++ b/docs/data/data-grid/editing/editing.md @@ -175,8 +175,9 @@ The value returned is used later as an argument on a call to `apiRef.current.upd /> ``` -If you want to delete a row from the internal state of the Data Grid, you can return an additional property `_action: 'delete'` in the row object from the `processRowUpdate` callback. This will remove the row from the internal state of the Data Grid. -It is a more performant way to delete a row as compared to updating the [`rows` prop](/x/react-data-grid/row-updates/#the-rows-prop) or using `setRows()` API method because `processRowUpdate` uses the [`updateRows()`](https://mui.com/x/react-data-grid/row-updates/#the-updaterows-method) under the hood which doesn't cause a full regeneration of the row tree. +If you want to delete a row from the internal state of the Data Grid, you can return an additional property `_action: 'delete'` in the row object from the `processRowUpdate` callback. +This removes the row from the internal state of the Data Grid. +It is a more performant way to delete a row as compared to updating the [`rows` prop](/x/react-data-grid/row-updates/#the-rows-prop) or using `setRows()` API method because `processRowUpdate` uses the [`updateRows()`](/x/react-data-grid/row-updates/#the-updaterows-method) under the hood which doesn't cause a full regeneration of the row tree. ```tsx