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
143
Incorrect columnorder
posted

Hi,

I have a domainobject databinded with a ultrawingrid via a System.Windows.Forms.BindingSource.
My problem is that some of the gridcolumns turns out in wrong order.
These are added dynamicly by overriding the GetItemProperties method in the bindingsource.

All columns are correctly ordered if I debug my application at "Infragistics.Win.UltraWinGrid.InitializeLayout"
and iterate each Grid.DisplayLayout.Bands(0).Columns.Key.
But the columns are incorrectly ordered when the data finally are showed in the grid.

Is there any event or something that occurs after the UltraWinGrid.InitializeLayout event that can be the reason for the incorrect columnorder?

I am a bit lost :/

/S