I've attached a sample project showing me trying to load 5000 rows and 14 columns. The data load happens when you click the button labeled "Push". This seems like it takes far too long to load this amount of data. Here is the XAML and designer code:
XAML:
XAML:
<
Window
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
x:Class
=
"WpfApplication2.MainWindow"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
Grid
>
<
StackPanel
>
<
Button
Content
=
"Push"
Click
=
"Button_Click"
/>
<
telerik:RadGridView
ItemsSource
=
"{Binding Data}"
ColumnWidth
=
"100"
MaxColumnWidth
=
"100"
/>
</
StackPanel
>
</
Grid
>
</
Window
>
Designer:
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public
partial
class
MainWindow : Window
{
public
MainWindow()
{
InitializeComponent();
}
public
IEnumerable<DataItem> Data {
get
;
set
;}
private
void
Button_Click(
object
sender, RoutedEventArgs e)
{
var data =
new
List<DataItem>();
for
(
int
i = 0; i < 5000; i++)
{
data.Add(
new
DataItem());
}
this
.Data = data;
this
.DataContext =
this
;
}
}
public
class
DataItem
{
public
string
Col {
get
;
set
;}
public
string
Col2 {
get
;
set
; }
public
string
Col3 {
get
;
set
; }
public
string
Col4 {
get
;
set
; }
public
string
Col5 {
get
;
set
; }
public
string
Col6 {
get
;
set
; }
public
string
Col7 {
get
;
set
; }
public
string
Col8 {
get
;
set
; }
public
string
Col9 {
get
;
set
; }
public
string
Col0 {
get
;
set
; }
public
string
Col11 {
get
;
set
; }
public
string
Col12 {
get
;
set
; }
public
string
Col13 {
get
;
set
; }
public
string
Col14 {
get
;
set
; }
}
I should add that this is using version 2012.2.912.40 of the WPF RadGridView component in a .NET 4.5 WPF application.