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
790
Add multi column sorting in a wingrid at run time
posted

Hi,

I want to add multi column sorting in a wingrid at run time. Can you give me any example on that?

  • 37774
    Suggested Answer
    posted

    You would just need to add each column to the SortedColumns collection:

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

    -Matt