I have a CellList with SingleSelectionModel, My use case is:
- User selects one row(oldProxy) in CellList.
- User creates one proxy(newProxy) and send to the server.
- Client receives the success response and CellList begins to request newest data from server.
- CellList filled with newest data, and the row in step 1 is still selected.
But i want to select the the newest row in step 4, i use
selectionModel.setSelected(newProxy);
but seem it does not work and still select the row in step1.
I tried deselect the row before step 2:
selectionModel.setSelected(oldProxy, false);
but at the end it still select the row in step1, it's weird. Any ideas about this?