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:
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