This is a migrated thread and some comments may be shown as answers.

Hierarchical Grid - Slow to expand child grids

0 Answers 33 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Reid
Top achievements
Rank 2
Reid asked on 27 Nov 2013, 02:25 PM

Hello,

I have a grid that displays two levels.

Applications
   Client Access
    Module Access

When you click the "+" to show the child rows it takes about 8-10 seconds to expand and show the two child tables.  Each table does not have more that 40 records.

1) How can I set the cursor to wait while it happening?
2) How can I speed it up?

Here is the relevant section of the markup.

<telerik:RadGridView.HierarchyChildTemplate>                               
   <DataTemplate>
       <StackPanel>                                       
              <telerik:RadGridView ItemsSource="{Binding ClientAccess}" AutoGenerateColumns="False">
                   <telerik:RadGridView.Columns>
                        <telerik:GridViewDataColumn Header="" DataMemberBinding="{Binding IsSelected}"/>
                        <telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding Name}"/>
                        <telerik:GridViewDataColumn DataMemberBinding="{Binding SecurityLevel}" Header="Security Level" />
                          <telerik:GridViewDataColumn Header="Identity"UniqueName="Identity"/>                                                                            
                    </telerik:RadGridView.Columns>
               </telerik:RadGridView>
 
 
<telerik:RadGridView ItemsSource="{Binding ToolModuleAccess}" AutoGenerateColumns="False">
        <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn Header="" DataMemberBinding="{Binding IsSelected}"/>
        <telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding Name}"/>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding SecurityLevel}" Width="100" Header="Security Level" />
         <telerik:GridViewDataColumn Header="Identity" UniqueName="Identity"/>                                           
        </telerik:RadGridView.Columns>
 </telerik:RadGridView>
</StackPanel>
 
</DataTemplate>                  
</telerik:RadGridView.HierarchyChildTemplate>



The viewmodel and all of it's data is set prior to the form's creation.

Any help would be greatly appreciated.

Thanks!
Reid






No answers yet. Maybe you can help?

Tags
GridView
Asked by
Reid
Top achievements
Rank 2
Share this question
or