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
685
How to set default sort order of grid rows ?
posted

Hello,

I have an WebHierarchicalDataGrid with 3 bands (parent/child/grandchild).

The grid DataSource is set to a DataSet on page load.

How can I specify the sort order in which the rows are displayed in the grid ?

I tried using a DataViewManager to set the Sort on each tables view, but when I assign the DataViewManager to the grid DataSource, I get an error "Data source contains no schema data".

I do not need the grid sorting bahavior, where the user can can click on columns to sort. I just want to set a default initial sort order.