Hallo,
I have a UltraGrid with multible bands. The DataSource is a collection of objects.
One band have two different child bands. I want to define the order of these two bands. Is there a way to define the position/order of the bands? I expect a way like the VisiblePosition-property for the column position.
My Infragistcs version is 6.1 and I'm using C#.
Hi,
This is a common request, and I know it's been discussed, but I can't remember if it was ever actually implemented or in which version.
VisiblePosition is exactly the property to use. A child band is really just a special kind of column on the parent band, so try accessing the columns that represent the child bands here and set the VisiblePosition on them and see if it works.
Thank you for you fast reply. I had exact the same idea:
e.Row.Band.Columns["UnitName"].Header.VisiblePosition = 0;e.Row.Band.Columns["ChildChargen"].Header.VisiblePosition = 1;e.Row.Band.Columns["ChildUnits"].Header.VisiblePosition = 2;
But it doesn't work. The VisiblePosition is set to the right order but it displays still the wrong order.
(Sorry for the bad english. I'm german)