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

Cloning Grid View

3 Answers 125 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sharon Eden
Top achievements
Rank 1
Sharon Eden asked on 08 Jul 2010, 01:58 PM
Hi,

How can I clone a RadGridView including all of its sorting, filtering, grouping, etc. I can of course clone the datatable, but then i won't  have all the properties of the Gridview Template.

Thanks,

Sharon.

3 Answers, 1 is accepted

Sort by
0
Accepted
Martin Vasilev
Telerik team
answered on 13 Jul 2010, 05:54 PM
Hello Sharon Eden,

Thank you for the question.

RadGridView does not support deep copy or the functionality you described. However you can use Save/Load Layout to implement similar scenario on your own. More about these methods you can find in our product documentation.

Let me know if you have any additional questions.

Greetings,
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
0
David Roman
Top achievements
Rank 1
answered on 30 Mar 2021, 08:33 PM
When you want to Export a radGridView to Excel and you are using paging (EnablePaging = true) just set EnablePaging = false, do the export and then when the export is finished set EnablePaging = true again.
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 31 Mar 2021, 07:26 AM
Hello, David, 

Indeed, turning off paging before exporting all the data rows and turning it back on once the export operation is completed is a good approach. Since this is quite an old post, I would like to recommend using GridViewSpreadExport which utilizes our RadSpreadProcessing library to export the content of RadGridView to xlsx, csv, pdf and txt formats.

Additional information is available in the following documentation article:
https://docs.telerik.com/devtools/winforms/controls/gridview/exporting-data/spread-export 
 
I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
GridView
Asked by
Sharon Eden
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
David Roman
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or