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
190
Sorted data on DataBind
posted

I have an UltraWinGrid that I am binding to a List. When I bind to the List, it is already custom-sorted. However, when the display comes up, the grid has resorted the rows in the top band by the first column values.

Can I disable this behavior in the grid?

 

Thanks.

Parents
No Data
Reply
  • 37774
    Verified Answer
    posted

    Are you sure that you don't have one of the columns set to be sorted at design-time, or that you don't have code adding a column to the SortedColumns collection?  By default, the grid should be respecting the order of the items in the underlying list.  I just did a quick test and this behavior worked for me (including another test where I sorted the list before binding).

    -Matt

Children