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
1176
sorting columns
posted

hi

 

i have a query that returns me the desire result with the columns all ready sorted, but wingrid sorts again the resuts and mess up my query, how can i disable this function?

 

Thanks.

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    The grid doesn't sort anything by default. If the grid is changing the sort order of your data, it's because something in your code is telling it to. The way you tell the grid to sort is by setting the SortIndicator property on the column. So make sure your code is not doing that.

    Also, if you are loading a layout into your grid, the layout might have been saved with sorted columns. In which case, you won't be able to load that layout.

Children