Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

Batch editing like in DevExtreme DataGrid #2479

Description

@sjsingh85
  • I have searched this repository's issues and believe that this is not a duplicate.

I'm using ...

  • React Grid
  • React Chart
  • React Scheduler

Description

I am trying to implement Batch editing like DevExtreme DataGrid

a. Buttons: To be used for server side save and reverting grid to original state.

  • I understand that Save and Cancel buttons can be placed in toolbar using custom template like in this Example.
  • Function callbacks for save and cancel could be passed in at parent/root level where this plugin is being used.

b. Modified records

  • To keep a record of modified cells, I can either attach that information within the row record when onCommitChanges is called on client side.
  • (Preferred) Or maintain a pluginstate as in the Example

Assuming my above assumptions are correct, and I am on right path:

  1. How can I add an eventhandler for onCommitChanges to my custom template plugin.

  2. How can I render a updated cell with a colored background or may be a button to undo that particular cell value? I tried implementing this using tableCell Template from Table plugin but could not figure out how to get all required props to be passed into Table.Cell component? Basically what all getters and actions will I have to declare to be passed into Table.Cell.

  3. How will my custom edit templates be maintained if I modify this Table.Cell template?

Environment

  • devextreme-reactive: latest
  • react: latest
  • browser: chrome
  • material-ui: latest

Metadata

Metadata

Assignees

Labels

GridThe DevExtreme Reactive Grid componentquestion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions