My application will add a new record in resources. Then I want to focus on the row which has been added. My code is like below:
The row will be added and the grid is re-group correctly but it doesn't go to the added row. It just goes to the first row.Code:this.grid.store.loadData(newResource, true); this.grid.store.groupBy("Category", true); this.grid.getView().focusRow(this.resourceStore.indexOfId(staffid));
Anyone knows this issue? Pleas help me thanks very much.