I have a data structure that is 3 levels deep
Server
->Catalogs
-->Cubes
I am getting an 'extra row" that is driving my desingers and QA people mad and I can't figure out how to get rid of it.
(the row below the server name ,in this case 'SCA-DB2')
screen shot
here is my xaml
<igGrid:XamGrid.Columns> <igGrid:TextColumn Key="ServerName" HeaderText="Server" Width="*"/> <igGrid:ColumnLayout Key="OlapCatalogs" HeaderVisibility="false"> <igGrid:ColumnLayout.Columns> <igGrid:TextColumn Key="CatalogName" HeaderText="Catalog" Width="*" IsReadOnly="True"> <igGrid:TextColumn.HeaderTemplate> <DataTemplate> <dataInput:Label Content="{Binding CatalogName}"/> DataTemplate> igGrid:TextColumn.HeaderTemplate> igGrid:TextColumn> <igGrid:ColumnLayout Key="Cubes" HeaderVisibility="false"> <igGrid:ColumnLayout.Columns> <igGrid:CheckBoxColumn Key="Active" HeaderText="Selected" HeaderStyle="{StaticResource HeaderStyle}" IsReadOnly="False"> <igGrid:CheckBoxColumn.HeaderTemplate> <DataTemplate> <CheckBox Content="Select All" Name="chkCheckAll" Checked="chkOlapCheckAll_Checked" Unchecked="chkOlapCheckAll_Checked" /> DataTemplate> igGrid:CheckBoxColumn.HeaderTemplate> igGrid:CheckBoxColumn> <igGrid:TextColumn Key="Name" Width="300" HeaderText="Cube" IsReadOnly="True" HeaderStyle="{StaticResource HeaderStyle}" /> <igGrid:TextColumn Key="LastProcessedDateTime" Width="auto" IsReadOnly="True" HeaderText="Last Processed" HeaderStyle="{StaticResource HeaderStyle}" /> <igGrid:TextColumn Key="ProcessState" Width="*" HeaderText="State" IsReadOnly="True" HeaderStyle="{StaticResource HeaderStyle}" /> igGrid:ColumnLayout.Columns> igGrid:ColumnLayout> igGrid:ColumnLayout.Columns> igGrid:ColumnLayout> igGrid:XamGrid.Columns>
works!
thank you!
I will try that be right back
Hi,
Based on your xaml code in the first post it looks like you are setting HeaderVisibility="false" while it takes System.Windows.Visibility (see http://help.infragistics.com/NetAdvantage/Silverlight/2012.1/CLR4.0/?page=InfragisticsSL5.Controls.Grids.XamGrid.v12.1~Infragistics.Controls.Grids.ColumnLayout~HeaderVisibility.html)
If you change the attribute to HeaderVisibility="Collapsed" the header row for the ColumnLayout won't be displayed.
HTH
well I cannot change the structure of the underlyingobject that I am binding too, so no
I did not achieve my goal
Hello,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.