Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
413 views
in Technique[技术] by (71.8m points)

ExtJS Grid selection not refreshing after store update

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...