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

Exporting grid virtual mode

1 Answer 105 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Fabian Raul Jofre
Top achievements
Rank 2
Fabian Raul Jofre asked on 25 Jun 2010, 07:47 PM

Hi, i'm having trouble trying to export the grid. Whenever i export the data i only get the visible part of it. I cannot find to much info about how i have to do it. Could someone please help me?

Regards.

1 Answer, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 01 Jul 2010, 12:22 PM
Hi Fabian Raul Jofre,

Thank you for writing.

RadGridView exporting methods gets needed data from grid's Rows collection. If you have virtual mode scenario, most probably you are dynamically maintaining the grid's rows and that means Rows collection does not contain all of the data rows. If that is the case there is no way to export entire data. Since virtual mode is supposed to implement own data management logic, this is true for the export as well. If you want to export all the rows, you should fill the rows collection before using exporting methods.  

Let me know if you have any additional questions.

Sincerely yours,
Martin Vasilev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Fabian Raul Jofre
Top achievements
Rank 2
Answers by
Martin Vasilev
Telerik team
Share this question
or