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

Performance issue with expanding 12000rows with checkbox

5 Answers 109 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Bi Chao
Top achievements
Rank 1
Bi Chao asked on 12 Jan 2011, 07:56 AM
Hi,

We are having an issue expanding 12000 rows with checkbox.  We tried all possible ways to make it faster, but it still takes more than 20 secs to expand it in our machine. Is there any other solutios for this issue?

  Below is our xaml code:

 <telerikGrid:RadTreeListView  x:Name="grdResults" BorderThickness="0"   Style="{StaticResource mytreeListFontStyle}" AutoGenerateColumns="False"
     Visibility="Collapsed" EditTriggers="None" RowIndicatorVisibility="Collapsed"  Height="600" EnableColumnVirtualization="True" EnableRowVirtualization="True" DataLoadMode="Asynchronous"
   AlternationCount="2" AlternateRowBackground="#E9E9E9FF" HorizontalAlignment="Left">
            <telerikGrid:RadTreeListView.ChildTableDefinitions>
                <telerikGrid:TreeListViewTableDefinition ItemsSource="{Binding Children}" />
            </telerikGrid:RadTreeListView.ChildTableDefinitions>

            <telerikGrid:RadTreeListView.Columns>
                <telerikGrid:GridViewColumn Header="Item" MinWidth="260" HeaderCellStyle="{StaticResource myHeaderStyle}" CellStyle="{StaticResource myCellStyle}">
                    <telerikGrid:GridViewColumn.CellTemplate>
                        <DataTemplate>
                            <StackPanel Orientation="Horizontal">
                                <CheckBox Visibility="{Binding CanDelete}" IsChecked="{Binding DeleteFlag, Mode=TwoWay}"  Margin="-5,5,0,0"  />
                                <TextBlock VerticalAlignment="Center" Text="{Binding Item, Mode=OneWay}" Height="25" Padding="0,5,0,0" />
                            </StackPanel>
                        </DataTemplate>
                    </telerikGrid:GridViewColumn.CellTemplate>
                </telerikGrid:GridViewColumn>

                <telerikGrid:GridViewDataColumn Width="75" Header="Size now" IsFilterable="False" HeaderCellStyle="{StaticResource myHeaderStyle}" CellStyle="{StaticResource myCellStyle}" DataMemberBinding="{Binding SizeNow,Mode=OneWay}"/>

                <telerikGrid:GridViewDataColumn Width="145" Header="Size of versioned data" IsFilterable="False" HeaderCellStyle="{StaticResource myHeaderStyle}" CellStyle="{StaticResource myCellStyle}" DataMemberBinding="{Binding SizeOfVersionData,Mode=OneWay}"/>

                <telerikGrid:GridViewDataColumn Header="Status and notes" IsFilterable="False" HeaderCellStyle="{StaticResource myHeaderStyle}" CellStyle="{StaticResource myCellStyle}" DataMemberBinding="{Binding StatusNotes,Mode=OneWay}"/>
            </telerikGrid:RadTreeListView.Columns>
        </telerikGrid:RadTreeListView>
Thanks and Regards
Bill

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 12 Jan 2011, 08:37 AM
Hi,

 Can you post more info about the treelist version? We've made performance improvements in our related builds related to expand/collapse.  Our first service pack will be released officially before the end of this week. 

Kind regards,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Bi Chao
Top achievements
Rank 1
answered on 13 Jan 2011, 12:29 AM
Hi,
The version we are using is 2010.3.1110.1040. 

I think the reasion might be we are using custom template that contain check box.  And expanding and rendering thousands of checkboxes really sounds crazy.  However, thats the situation we've got to deal with.

Thanks for your quick reply and looking forward to try your next version!

Bill

 
0
Alexey
Top achievements
Rank 1
answered on 29 Mar 2011, 03:01 PM
The version we are using is 2010.3.1314.1040 not fixed slowly working expanded rows.
Any updates?
0
Vlad
Telerik team
answered on 29 Mar 2011, 03:15 PM
Hi,

 Have you tried our Q1 2011? We've made serious performance improvements for both RadGridView and RadTreeListView.

Regards,
Vlad
the Telerik team
0
Alexey
Top achievements
Rank 1
answered on 30 Mar 2011, 11:30 AM
Hi. I've just tried Q1 2011 and really expand/collapse operations start working much faster. But not enought :)
If we in previous version waiting 4-5 sec to exanp colaped node then in Q1 we are waiting 1-2 sec...
Is it possible more speed up? :)
Tags
TreeListView
Asked by
Bi Chao
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Bi Chao
Top achievements
Rank 1
Alexey
Top achievements
Rank 1
Share this question
or