Skip to content

Commit

Permalink
[docs] Update delete-grid-row.md (#3354)
Browse files Browse the repository at this point in the history
Signed-off-by: Prakhar Gupta <92228082+prakhargupta1@users.noreply.github.com>
Co-authored-by: Jan Potoms <2109932+Janpot@users.noreply.github.com>
  • Loading branch information
prakhargupta1 and Janpot authored Apr 5, 2024
1 parent cdd4a2f commit 521009d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/data/toolpad/studio/how-to-guides/delete-grid-row.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

<p class="description">You can add a delete functionality to the data grid in minutes.</p>

:::info
Toolpad Studio now supports [Data Providers](/toolpad/studio/concepts/data-providers/) as an improved way to manage CRUD operations in a data grids. With data providers you can set up [row deletion](/toolpad/studio/concepts/data-providers/#deleting-rows) just by supplying a backend function that performs the action.
:::

You can add a delete button to a data grid connected to any REST API, like so:

{{"component": "modules/components/DocsImage.tsx", "src": "/static/toolpad/docs/studio/how-to-guides/delete-grid-row/delete-button.png", "alt": "Data grid with delete", "caption": "A data grid with a Delete button" }}
Expand Down

0 comments on commit 521009d

Please sign in to comment.