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
935
Show Groups order in the way we want
posted

Hi

I am binding my collection object to ultraGrid1. My collection is like orderby displayTitle.

I am using the following statement to get the groups.

this.ultraGrid1.DisplayLayout.Bands[0].SortedColumns.Add("title", false, true);

The groups are displaying in ascending order which I dont want.

I want to show the groups in the same oder of collection.

Need help.

 

Thanks

Rajesh...

Parents
No Data
Reply
  • 37774
    posted

    Rajesh,

    While you can control whether the items are sorted ascending or descending via the second parameter to the Add method, I don't think that there's any way to accomplish this.  Grouping is tightly intertwined with sorting as you can't group without performing the sort on the items.

    -Matt

Children