You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
How can I add an eventhandler for onCommitChanges to my custom template plugin.
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.
How will my custom edit templates be maintained if I modify this Table.Cell template?
I'm using ...
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.
b. Modified records
Assuming my above assumptions are correct, and I am on right path:
How can I add an eventhandler for onCommitChanges to my custom template plugin.
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.
How will my custom edit templates be maintained if I modify this Table.Cell template?
Environment