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
1020
Column Order is not proper.
posted

I have 50 properties in my BaseRow class. When I use the code mentioned below,
the column order is random. BaseRow's  properties are named col1,col2,col3....and so on
upto col50. The ultragrid shows very random column order. I checked while debugging
that the roots object contains perfect order. But when the columns are added in the Grid,
the order is random.

BaseRow headerrow = new BaseRow();
BindingList<BaseRow> roots = new BindingList<BaseRow>();
roots.Add(headerrow);
ultraGrid1.DataSource = roots;

 Please help,
Regards,
Sid.