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
3338
setting a default sort column...
posted

I have a control with a grid and two bands.

WHen a user switches from 1 band to the other and back, it loses its sort order.

 

So if it initially sorted by col1 on band0 then they go to band 1, then back to band 0, I want it to default to col1 as sort..

 

How can I do this?

Parents
  • 3338
    posted

    ah.. never mind.. I found a post that gave me the answer..

    DataGrid.DisplayLayout.Bands(0).Columns("key").SortIndicator = SortIndicator.Ascending

Reply Children
No Data