Hi Isomorphic,
I'm observing a quite strange behavior of sorting the ListGrid with editable cells. Since we've upgraded from SGWT4.1 to 5.0, the grid became unsorted after any cell is edited.
I've found there is a part of code in ListGrid.js, function dataChanged(), which unsorts the grid, at least for the case of editing cells, which are part of the sorting definition. The unsort() function is called.
But I think the sorting should persist even is this case, or am I wrong?
This can be easily reproduced in the SGWT showcase. See editable grid example:
http://www.smartclient.com/smartgwt/showcase/#grid_editing_cell
Sort the grid by, e.g. Country and then edit any cell in this column. After the value change is applied, the sorting is lost.
Version: 5.0p
Built Wed May 27 10:09:00 GMT+200 2015
Best regards.
I'm observing a quite strange behavior of sorting the ListGrid with editable cells. Since we've upgraded from SGWT4.1 to 5.0, the grid became unsorted after any cell is edited.
I've found there is a part of code in ListGrid.js, function dataChanged(), which unsorts the grid, at least for the case of editing cells, which are part of the sorting definition. The unsort() function is called.
But I think the sorting should persist even is this case, or am I wrong?
This can be easily reproduced in the SGWT showcase. See editable grid example:
http://www.smartclient.com/smartgwt/showcase/#grid_editing_cell
Sort the grid by, e.g. Country and then edit any cell in this column. After the value change is applied, the sorting is lost.
Version: 5.0p
Built Wed May 27 10:09:00 GMT+200 2015
Best regards.
Comment