My refresh method that worked with smartgwt 2.1 is no longer resetting the open state of my treegrid. I'm using the SmartGwt build from today, Windows 7, and Firefox 3.6.8
Code:
public void refresh() { final String selectedPaths = grid.getSelectedPaths(); final String openState = grid.getOpenState(); grid.invalidateCache(); grid.fetchData(null, new DSCallback() { public void execute(DSResponse response, Object rawData, DSRequest request) { grid.setOpenState(openState); grid.setSelectedPaths(selectedPaths); } }); }
Comment