Performance issue with expanding 12000rows with checkbox

6 posts, 0 answers
  1. Bi Chao
    Bi Chao avatar
    28 posts
    Member since:
    Mar 2010

    Posted 12 Jan 2011 Link to this post

    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
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 12 Jan 2011 Link to this post

    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>>
  3. DevCraft banner
  4. Bi Chao
    Bi Chao avatar
    28 posts
    Member since:
    Mar 2010

    Posted 12 Jan 2011 Link to this post

    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

     
  5. Alexey
    Alexey avatar
    14 posts
    Member since:
    May 2009

    Posted 29 Mar 2011 Link to this post

    The version we are using is 2010.3.1314.1040 not fixed slowly working expanded rows.
    Any updates?
  6. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 29 Mar 2011 Link to this post

    Hi,

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

    Regards,
    Vlad
    the Telerik team
  7. Alexey
    Alexey avatar
    14 posts
    Member since:
    May 2009

    Posted 30 Mar 2011 Link to this post

    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? :)
Back to Top
DevCraft banner