Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3305
need help on a column layout issue with heirarchies
posted

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>