Hello all,
In a WindowsForms application with Infragistics Vol. 2009.2 I am using one UltraGrid which has a dynamical DataSet as DataSource and in the DataSet there are many DataTables which has hierarchical relations in the Dataset.
In order to display the band information/name clearly I’d like to add a visual unbound title band above each DataTable band s. Attachment
Is that possible, if yes then how?
Many thanks in advance
Best regards
Hi,
What you are looking for is called a Band Header. You can turn this on like so:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { foreach (UltraGridBand band in e.Layout.Bands) { band.HeaderVisible = true; band.Header.Caption = "This is band: " + band.Index; } }
Is possible to customize this header's text for every child collection?
I mean, there is a parent band, the rows of which have child rows, and when you expand the parent row you see these child rows in a table, is there any way to customize the appeareance of these group of rows (header text, colours, etc ...) ?
When you set a appeareance to the child band it affects all the groups of child rows, but is there a way to set a appeareance to a group of child rows in a band but not to all the band? Sort of ActiveChildRowsCollection.
Thnx
There's no way to do this via a property setting. There's no way the grid's properties can account for the different islands of data, since the data is abstract to the grid.
But you could achieve what you want using a DrawFilter.
I think it would be useful to define a ActiveDataIslandAppearance, somehow similar to the ActiveRowAppearance. Both can be considered without considering the data. Is this the right place to suggest features?
Thnx.
You can Submit a feature request to Infragistics.