enterprise-wc
enterprise-wc copied to clipboard
2586 - Added new method `resetDirtyRow` allowing to reset dirty state for an specific row
Explain the details for making this change. What existing problem does the pull request solve?
When adding the method resetDirtyRow
it allows to reset dirty state on cells only for a specific row instead of the whole grid. This is interesting when is editing a single record and sync with the server by saving the specific row only. When the server return success, we want to deal with that record only.
Related github/jira issue (required): Closes #2586
Steps necessary to review your pull request (required):
- Run grid editable example
- Change some records line row 1, 2 and 3
- Call the method
grid.resetDirtyRow(1)
- It will reset only the second row of the grid and other records will keep the dirty state.
Included in this Pull Request:
- [X] Some documentation for the feature.
- [X] A test for the bug or feature.
- [X] A note to the change log.