Hi!
Is it possible to get a sorted column unsorted again in the gui?
I don't want to prohibit sorting, but I'd like to implement a behaviour like in PL/SQL developer: when you click on the header, to sort-state toggles between (no-sort,ascending, descending, no-sort)
So, is it possible to get back to the no-sort state of a column?
Regards,
Florian
Hi Ricky!
This Method does what you want:
UltraGridUsedByComponent.DisplayLayout.Bands[0].SortedColumns.Clear();
Regards, Florian
FloWi said: Hi Mike! Thanks for your fast response. I submitted a feature request and as a workaround, I created a toolbar-button to unsort all columns manually. Regards, Florian
Hi Mike!
Thanks for your fast response. I submitted a feature request and as a workaround, I created a toolbar-button to unsort all columns manually.
Hi Florian,
I have exactly your problem. What did you do in your button handler to unsort the columns manually?
Many thanks in advance,
Ricky
No, once you sort a column in the grid, the original order is lost. You could re-bind the grid, of course, but this is probably not desirable, since you will lose your layout.
You should Submit a feature request to Infragistics