In all your grid examples it seems that Clear Sort menu item (and ListGrid.setSort(null) as well) only removes the sorting icon from the header but does not actually "un-sort" the grid.
However your documentation for ListGrid.clearSort() states: "The internal list of SortSpecifiers is removed and the grid is unsorted"
Example is here
http://www-demos.smartclient.com/iso...implicity#sort
Just remove these lines from code
sortFieldNum: 2,
sortDirection: "descending"
Note the original unsorted state, then sort and Clear Sort - there is no way to roll back to this original state
Is this a bug or by design?
If this is not a bug how can I bring the grid to it's original loaded state when user clicks Clear Sort in header menu?
However your documentation for ListGrid.clearSort() states: "The internal list of SortSpecifiers is removed and the grid is unsorted"
Example is here
http://www-demos.smartclient.com/iso...implicity#sort
Just remove these lines from code
sortFieldNum: 2,
sortDirection: "descending"
Note the original unsorted state, then sort and Clear Sort - there is no way to roll back to this original state
Is this a bug or by design?
If this is not a bug how can I bring the grid to it's original loaded state when user clicks Clear Sort in header menu?