Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
435
How to sort column(s) without using SortedColumns on Infragistics UltraWinGrid
posted

Hi everyone,

Anybody having suggestions on how to apply Sort By Column(s) on my  UltraWinGrid.

I have a Toolbar in which I would select a Sort menuitem which opens a Sort Component. What this Sort Component does is capture all the unhidden column names from the Active SmartPart Grid.

Now, I have been told that SortedColumn should not be used since, it does Group level sorting. Please let me know how do I apply Sort on column(s) .

From my Sort component I may select a few columns and set it's SortOrder Ascending or Descending.

On Pressing OK button of the component, I need to apply these Sort to the Column(s) of the underlying grid.

Please get me an immediate solution or the workaround for this.

Regards

Rajesh Saxena

 

 

 

 

 

 

 

Parents
  • 69832
    Offline posted

    apardeshi said:
    Now, I have been told that SortedColumn should not be used since, it does Group level sorting. Please let me know how do I apply Sort on column(s) .

    I'm not sure what context this should be taken in, but you can use the UltraGridBand.SortedColumns.Add method to sort a column whether or not you are using the GroupBy functionality. You can also set the UltraGridColumn.SortIndicator property directly to sort by a given column.

Reply Children