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
516
Sorting problem in WebGrid
posted

Hi,

I've got a webgrid that is automatically grouped on a specific column. However the sorting of the rows is incorrect.
They appear in descending order rather then ascending.
This is strange because the DataTable that is bound to the grid is specifically sorted in ascending order.

Does the Webgrid override the sorting of my DataTable?
Is there a way to get the webgrid to be sorted on a specific column by default?
Can this be done by code and if so how?

Also, how do I set the grid to expand all rows when grouping?