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

Displaying data in gridview while loading the data

4 Answers 71 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Markus
Top achievements
Rank 1
Markus asked on 20 Dec 2012, 02:29 PM
Hi,
is there a way to display data to the gridview while im still loading the data?
Lets say im loading 10,000 records and i want to display 100 while the rest loads how do i do that?

Thanks

4 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 20 Dec 2012, 02:39 PM
Hi Oliver,

Have you seen our virtualization example(the same example is available in your local version of our wpf examples)? Will it work in your case? 

Greetings,
Nik
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Markus
Top achievements
Rank 1
answered on 08 Jan 2013, 08:31 AM
Hello Nik,
sorry for my late response. I didn't express my problem clearly enough. I have a collection, which is the datasource of my gridview.
While writing 10,000 records of data into my collection (I'm doing this in a different thread; the functionality works like a blocking collection),I want to be able to display the data (e.g. first 100 records) at the same time.
When I'm writing the 101st record into my collection I want to display it immediately in my gridview etc...

The way it works now for me is that I'm writing all 10,000 records into my collection and the data will be displayed afterwards.

Thanks
0
Nick
Telerik team
answered on 08 Jan 2013, 02:51 PM
Hello Oliver,

May I ask you to take a look at the attached example and see if it will work in your case?

Hope it helps! 

Kind regards,
Nik
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Markus
Top achievements
Rank 1
answered on 09 Jan 2013, 09:12 AM
Hi Nik,
that was exactly what i was looking for.

Thanks
Tags
GridView
Asked by
Markus
Top achievements
Rank 1
Answers by
Nick
Telerik team
Markus
Top achievements
Rank 1
Share this question
or