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

Copy required columns from gridview to other gridview

1 Answer 245 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Oleg
Top achievements
Rank 1
Oleg asked on 20 Oct 2013, 05:42 PM
I have some problems with copying required columns from one gridview to another gridview!
Firstly, I download table from Excel, then I give my own HeaderText to some columns using ContextMenu.
And I need to copy only these columns with my HeaderText to another gridview.
I tried some variants but it didn't work!
How can I do that?

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 23 Oct 2013, 04:13 PM
Hello Oleg,

Thank you for writing.

This functionality to directly copy columns from one grid to another is not supported by RadGridView.

In this case first we can create similar columns in the second grid and then also copy the rows. Sample implementation of this approach is available in the attached project.

Please let me know if there is something else I can help you with.

Regards,
Dimitar
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Oleg
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or