DevExtreme - React Grid - Inline Cell Editing (v19.2)

DevExtreme Team Blog
22 January 2020

With our most recent release, the DevExpress React Grid allows you to edit data inline, without initiating row edits explicitly.

To enable this functionality, we created the new plugin TableInlineCellEditing. You combine TableInlineCellEditing with EditingState to incorporate the new functionality in your web app.

<Grid rows={rows} columns={columns} getRowId={getRowId}>
  <EditingState onCommitChanges={...} />
  <Table />
    selectTextOnEditStart={true} />

Set the property startEditAction to either click (the default) or doubleClick to define how a user can activate editing for a cell. You can also set selectTextOnEditStart if you want cell text to be selected when editing begins.

Inline Editing

Changes are saved when an editable cell loses focus, or when the user presses the Enter key. The Esc key cancels changes.

Note that cell navigation with Tab and Shift-Tab is not implemented as a standard feature yet. However, the Inline Cell Editing Demo shows how this functionality can be added.

Let Us Know What You Think

Please let us know your thoughts about this new feature. You can leave comments below or submit issues to our GitHub repository.

Free DevExpress Products - Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We'll be happy to follow-up.
No Comments

Please login or register to post comments.