We have columns that sort the default way, which is fine. No custom sorting.
What we want to do, however, is skip the SortingState.None... and always either sort ascending or descending.
So what I tried was to capture the Column.SortingStateChanged event, and set the state to "Ascending" when the new state was "None". This did not have the desired effect.
I expected the column to sort the grid by its values in Ascending order. Instead, it assigned the current state (unsorted) to Ascending.
----
In summary, we don't want three-state sorting. We want ascending or descending only, once a user clicks on the column header.
Thanks,
Chad Lehman
20th Century Fox
What we want to do, however, is skip the SortingState.None... and always either sort ascending or descending.
So what I tried was to capture the Column.SortingStateChanged event, and set the state to "Ascending" when the new state was "None". This did not have the desired effect.
I expected the column to sort the grid by its values in Ascending order. Instead, it assigned the current state (unsorted) to Ascending.
----
In summary, we don't want three-state sorting. We want ascending or descending only, once a user clicks on the column header.
Thanks,
Chad Lehman
20th Century Fox