The Row Based Edit plugin allows you to edit either a single or multiple specific rows at a time, while disabling the rest of the
grid rows.
Editable rows, as well as modified cells are highlighted with a different color, which you can customize using css variables
Modifications are kept track of and if the cancel button is pressed, all modifications are rolled back.
If the save button is pressed, a custom "onBeforeRowUpdated" callback is called, which you can use to save the data with your
backend.
The callback needs to return a Promise<boolean> and if the promise resolves to true, then the row will be updated, otherwise it
will be cancelled and stays in edit mode. You can try out the later by defining a Duration value
larger than 40.
NOTE: You can also combine this with e.g. Batch Editing like shown
in Example 30
This example additionally uses the ExcelCopyBuffer Plugin, which you can see also in Slickgrid-Universal
example 19. The example defines a rule that pastes in the
first column are prohibited. In combination with the Row Based Editing Plugin though, this rule gets enhanced with the fact that
only the edited rows are allowed to be pasted into, while still respecting the original rule.