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>
  • 138253
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and I can say that the organization of the Rows you have is expected since you have three-level hierarchy. I attached a sample where there are more than one child Rows of the first Row, where the “extra Row” makes sense. If you don’t want to have this Row you can reorganize your data, so it has two-levels of hierarchy. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    SilverlightApplication1.zip