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
65
Please helpme UltraWinGrid
posted

Dear Sir/Madam

 

I have an ultrawingrid that has three columns.

 

ID Name Surname

 

I can drag one of the columns to the brand, or even two or three and then group them together with Outlook’s property

 

What I need is to group them by the item number, in ascending or descending order with just one column, two or three (as that choice will be depending on the user)

 

Looking forward to hearing from you.

I need tha event because the columns groups is dinamics and order by des or asc for items count

 

Doc2.zip
Parents
No Data
Reply
  • 69832
    Offline posted

    Sorry but I don't understand your request. You can programmatically group by columns using the UltraGrid.DisplayLayout.Bands[n].SortedColumns collection; this collection exposes an Add method which takes the column to be sorted, its sort order, and also whether the column should be grouped.

    If you are familiar with all this and want to group the columns in some kind of non-standard way, you can use the IGroupByEvaluator interface (see UltraGridColumn.GroupByEvaluator property) to control which groups a given row is added to.

Children
No Data