Cell Edit
Built-in Cell Edit
The table includes a built-in createEditableCell editable cell plugin. Quickly create editable cells via the factory function.
For details, see EditableCell.
Custom Implementation
If you need more flexible editing logic (such as row edit mode, custom input components, etc.), you can implement it yourself via customCell.
Here's a simple implementation using custom components:
- Double-click cell to edit: Press
Enterto save, pressEscor blur to cancel. - Row edit mode: Check the edit row to enter row edit mode. No need to press
Enterto save in this mode.
loading
change Event
For custom implementations, you can notify the EditCell change event to the outside through an event bus (CustomEvent / mitt) or other methods.