Hi,
this should be easy, but as most IG stuff, it is not...
I have a Collection of Parent/Child items. Using a XamGrid I want to display only the parnts (hide Child Bands).
Where is that property hidden?...
Hello Konstantin,
Columnlayouts have a Visibility property that could be set to Collapsed if the band should not be visible:grid1.ColumnLayouts[1].Visibility = Visibility.Collapsed;The AutoGenerateColumns property could also be set to false and the column layouts could be defined manually to display only the columns that should be visible.
I would like to autogenerate. Is it still possible to target a specific ColumnLayout (e.g. using the Child Property name).
Also I would like to achive this in XAML - possible?
Hi Konstantin,
When the auto generate feature is used the visibility still can be set to Collapsed even by specifying the corresponding name not the index: grid1.ColumnLayouts["Products"].Visibility = Visibility.Collapsed;In Xaml the ColumnLayout could be defined with its key just to set the same property:<ig:XamGrid.ColumnLayouts> <ig:ColumnLayout Key="Products" Visibility="Collapsed"> </ig:ColumnLayout> </ig:XamGrid.ColumnLayouts>I have shared a sample project that includes a couple of layouts to illustrate this.