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
const rootReducer = combineReducers({
//other reducers for business logic
//reducers for the react-redux-grid library
grid: gridReducers.grid,
dataSource: gridReducers.dataSource,
errorHandler: gridReducers.errorHandler,
loader: gridReducers.loader,
selection: gridReducers.selection,
});
When i use the tree grid without the SELECTION_MODEL part in the plugins evertything works fine,
but when i include it i get the following error:
Uncaught Invariant Violation: A state mutation was detected inside a dispatch, in the path: selection._list._tail.array.0.1._list._tail.array.1.1.1. Take a look at the reducer(s) handling the action {"type":"@@react-redux-grid/SET_SELECTION","id":"tree-item-2","clearSelections":true,"allowDeselect":true,"index":1,"stateKey":"tree-grid-oj"}
I looked at the demo examples but could not find anything that could affect this issue.
Is this a bug or did i do something wrong?
The text was updated successfully, but these errors were encountered:
I used grid type Tree like this:
my combined reducer:
When i use the tree grid without the SELECTION_MODEL part in the plugins evertything works fine,
but when i include it i get the following error:
Uncaught Invariant Violation: A state mutation was detected inside a dispatch, in the path:
selection._list._tail.array.0.1._list._tail.array.1.1.1
. Take a look at the reducer(s) handling the action {"type":"@@react-redux-grid/SET_SELECTION","id":"tree-item-2","clearSelections":true,"allowDeselect":true,"index":1,"stateKey":"tree-grid-oj"}I looked at the demo examples but could not find anything that could affect this issue.
Is this a bug or did i do something wrong?
The text was updated successfully, but these errors were encountered: