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
225
Wingrid - Dynamically adding group by column
posted

To add group by column, we normally drag column and drop it in the group by box area.

How do I achieve this functionality dynamically ?

Parents
  • 37774
    Verified Answer
    posted

    You would use the SortedColumns collection, ensuring that you pass in 'true' as the third parameter of the Add method:

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

    -Matt

     

Reply Children
No Data