I have a grid with 2 rows, when removing the first row from the store the grid updates and looks as expected. But the old selection is still active with data that should not exist anymore.
When doubleclicking (the new first row) in the grid, it opens the old data.
After updating the store I have tried:
grid.getSelectionModel().select(0);
grid.getSelectionModel().deselectAll();
grid.getSelectionModel().clearSelections();
This is ExtJS version 6.5, classic
question from:
https://stackoverflow.com/questions/65933087/extjs-grid-selection-not-refreshing-after-store-update 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…