Skip to content

Cell Edit

Built-in Cell Edit (^1.0.0)

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 Enter to save, press Esc or blur to cancel.
  • Row edit mode: Check the edit row to enter row edit mode. No need to press Enter to 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.

Released under the MIT License