Currently, if we want to add or remove just one object in the grid, we have to call setItems, which replaces the entire data set. When the underlying data source is large—for example, 1,000 items, this causes noticeable delays as the grid re-renders everything.
New methods to add or remove a single item without calling setItems should be introduced. The given item should be inserted into or removed from the grid directly, depending on the operation, without forcing a full re-render of all items.
Currently, if we want to add or remove just one object in the grid, we have to call setItems, which replaces the entire data set. When the underlying data source is large—for example, 1,000 items, this causes noticeable delays as the grid re-renders everything.
New methods to add or remove a single item without calling setItems should be introduced. The given item should be inserted into or removed from the grid directly, depending on the operation, without forcing a full re-render of all items.