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

Combine/merge two grids into one

2 Answers 255 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 1
Ed asked on 14 Jul 2011, 01:15 PM
Hi all,

I have two RadGrids, rg1 and rg2, each with an identical column structure (or schema) and identical properties apart from their IDs.  They contain different data.  I need to make a new grid, rg3, that is the concatenation of rg1 and rg2; that is, rg3 has the same column structure and properties as rg1 and rg2 and contains all of the rows from rg1 followed by all of the rows from rg2.

What do the experts recommend as the simplest way to achieve this?

All answers gratefully received,

Ed Graham

2 Answers, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 21 Jul 2011, 11:45 AM
Hello Ed,

The only feasible approach would be to combine your data beforehand. You can then bind the merged dataset (for example) to a single RadGrid.

I hope this helps.

Best regards,
Daniel
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Ed
Top achievements
Rank 1
answered on 21 Jul 2011, 05:07 PM
Thanks for the reply, Daniel -- I thought you might say that.  Could I put in a vote for this functionality to be considered in a future release?

Ed
Tags
Grid
Asked by
Ed
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Ed
Top achievements
Rank 1
Share this question
or