version: v8.3p_2013-09-21/Pro Deployment (built 2013-09-21)
Tested on Chrome and firefox
Using the GwtRpcDataSource
I have a editable grid that works fine when no grouping is enabled.
The moment I enable grouping and refresh the grid like this:
the fields don't get updated anymore.
What I mean is that the refresh works, the grid is showing the correct data, but when I edit a value the new value is posted to the server and returned to
the datasource, but the call to 'processResponse (requestId, response);' resets the data to the old value.
I walked through the code and stripped out everything until I just call the server and return the data unaltered.
I also tried to return the full record so the grouping information is in the returned data
The grid is working fine when grouping is switched off, or when the grouping is enabled manually
Tested on Chrome and firefox
Using the GwtRpcDataSource
I have a editable grid that works fine when no grouping is enabled.
The moment I enable grouping and refresh the grid like this:
Code:
reportGrid.setData(new ListGridRecord[]{}); reportGrid.invalidateCache(); reportGrid.fetchData(new Criteria("dealerCode", getDealerUpload().getDealerCode()), new DSCallback() { @Override public void execute(DSResponse response, Object rawData, DSRequest request) { reportGrid.groupBy("productName"); } });
What I mean is that the refresh works, the grid is showing the correct data, but when I edit a value the new value is posted to the server and returned to
the datasource, but the call to 'processResponse (requestId, response);' resets the data to the old value.
I walked through the code and stripped out everything until I just call the server and return the data unaltered.
I also tried to return the full record so the grouping information is in the returned data
The grid is working fine when grouping is switched off, or when the grouping is enabled manually
Comment