Examples
Inline Editing Example
An example of Shadcn Table which shows how to use editing CRUD Inline Row features
Full CRUD (Create, Read, Update, Delete) functionality can be easily implemented with Shadcn Table, with a combination of editing, toolbar, and row action features.
This example below uses the inline "row" editing mode, which allows you to edit a single row at a time with built-in save and cancel buttons.
Check out the other editing modes down below, and the editing guide for more information.
Try it
- Click
Editon the first row. Its cells turn into inputs. - Change
First NametoKevinand clickSave. The row keeps the new name. - Click
Create New User. An empty row opens at the top.