How do these work together. If I call mygrid.sortRows(3) and then later call mygrid.getSortingState(), I get returned an empty array. In other words, having the grid sort programatically (instead of clicking on a column header) doesn’t seem to set the SortingState properties. Is this correct?
sortRows() method doesn’t change the sorting image state.
You need to call setSortImgState() after the sorting to get the sorting State successfully.