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 Thomas,
Your English is just fine.
It's possible that the functionality I am talking about has not been implement in v6.1 - maybe it was added later. Or it's also possible that it was not implemented at all. Like I said, I am not sure if this was ever implemented.
You might want to try downloading a trial version of the latest NetAdvantage (2007 Vol. 3) and see if it works in that build. If not, then the best thing to do is to submit this to Infragistics as a feature request: Request a Feature or Component
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)
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.