I am facing an issue whereby I have 184 columns and I just bind to 10 of those. The rest exist in the background and are not shown on the UI. I have noticed that when I switch from a certain element to another in order to populate the data grid with the respective information of the corresponding element the performance is really slow. I have also fixed the width and height of the data grid, therefore it doesn't seem that there's any issue with respect to the telerik data grid drawing out infinite dimensions. Any insight and suggestions about improving the performance of the radgridview would be really helpful.
PS: Would it be possible to do a live web session with you guys since if things don't work for us, our clients are getting impatient and we might replace the telerik grid view with the default wpf grid control.
Code Snippet:
PS: Would it be possible to do a live web session with you guys since if things don't work for us, our clients are getting impatient and we might replace the telerik grid view with the default wpf grid control.
Code Snippet:
<Grid HorizontalAlignment="Stretch"> <Grid.RowDefinitions> <RowDefinition /> </Grid.RowDefinitions> <!--ListBox ItemsSource="{Binding Path=PdsTrancheResults, Converter={StaticResource RowTemplateConverter}}" ItemTemplate="{StaticResource RowTemplate}" > </ListBox>--> <!--<DataGrid ItemsSource="{Binding Path=PdsTrancheResults, Converter={StaticResource RowTemplateConverter}}" AutoGenerateColumns="True"/>--> <telerik:RadGridView IsFilteringAllowed="False" Grid.Row="1" x:Name="ResultOutPutGrid" HorizontalAlignment="Stretch" IsReadOnly="True" ItemsSource="{Binding Path=PdsTrancheResults, IsAsync=True}" AutoGenerateColumns="False" AlternationCount="2" EnableRowVirtualization="True" EnableColumnVirtualization="True" DataLoadMode="Asynchronous" MaxWidth="600" MaxHeight="900" SelectionMode="Extended" ShowGroupPanel="False" telerik:StyleManager.Theme="Windows7" > <telerik:RadGridView.Columns> <telerik:GridViewDataColumn DataMemberBinding="{Binding Period}"> <telerik:GridViewDataColumn.Header> <TextBlock Text="Period" TextWrapping="Wrap" TextAlignment="Center"/> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn DataMemberBinding="{Binding Season}"> <telerik:GridViewDataColumn.Header> <TextBlock Text="Seasoning" TextWrapping="Wrap" TextAlignment="Center"/> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn DataMemberBinding="{Binding Coupon}"> <telerik:GridViewDataColumn.Header> <TextBlock Text="Coupon" TextWrapping="Wrap" TextAlignment="Center"/> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn DataMemberBinding="{Binding Balance}"> <telerik:GridViewDataColumn.Header> <TextBlock Text="Balance" TextWrapping="Wrap" TextAlignment="Center"/> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn DataMemberBinding="{Binding OrigBalance}"> <telerik:GridViewDataColumn.Header> <TextBlock Text="Original Balance" TextWrapping="Wrap" TextAlignment="Center"/> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn DataMemberBinding="{Binding MoodysRating}"> <telerik:GridViewDataColumn.Header> <TextBlock Text="Moodys Rating" TextWrapping="Wrap" TextAlignment="Center"/> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn DataMemberBinding="{Binding AvgOcPct}"> <telerik:GridViewDataColumn.Header> <TextBlock Text="Avg Acct Pct" TextWrapping="Wrap" TextAlignment="Center"/> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> </telerik:RadGridView.Columns> </telerik:RadGridView> </Grid>