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
275
Using a manually defined schema to control column ordering when binding to an IList
posted

I have an architecture that returns lists of objects via an IList interface (or IList<type> when using generics).  I can easily bind this to an ultrawingrid but i don't seem to have any control over the ordering that the columns are displayed.

I'm calling SetDataBinding( <IList data>, null, true) have manualy defined a schema with only the columns i want to show but it's not taking the ordering that i assigned when i created in the designer dialog.

Is there a way i can specifically order the columns that are displayed when using an IList<> as the datasource?