Enhance the grid functionality to maintain batch edit changes in their current state (highlighted in green) when performing data operations such as sorting or filtering. After a cell is edited and marked as part of the batch state, subsequent actions like sorting or filtering should not clear these changes. The goal is to ensure that all pending batch edits remain intact and visible until they are explicitly saved or discarded.