I have multiple bands in a linear hierarchy that I want to keep in sync (same columns, same column order, etc.). Is there a way to do this?
Thanks.
-Nick
Hi Nick,
You probably want to trap the Befiore/AfterColPosChanged event. This will tell you when a column is moved so you can adjust the appropriate column in the other band(s). To control the position of a column, you use the column.Header.VisiblePosition property.
Those variables seem to be accessed from the UltraGridBand. I currently only have access to the UltraDataBand. Is there any way to get the GridBand from the DataBand?
That worked. Thanks!
If all you have is an UltraDataBand, then you might be able to get the grid band using the Key of the band. The grid band will have the same key as the data band.