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

Merge header columns Programatically

3 Answers 132 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mallikharjun Mulagundla
Top achievements
Rank 1
Mallikharjun Mulagundla asked on 16 Nov 2010, 11:44 AM
Hi,

Can I create the following table dynamically (Till 3 Sub levels of Header)?  I would like to merge some of the columns dynamically - based on the DB resultset.
 

 

A

B

C

D

E

I

F

G

H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 
Can you share me a sample code?

Thanks, Malli

Can you share me a sample code?Thanks, Malli

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 16 Nov 2010, 12:15 PM
Hello Malli,

Please go through the following forum post which also discussing about the same scenario.
Adding Multiple Header Rows at Runtime in RadGrid

Thanks,
Princy.
0
Salman
Top achievements
Rank 1
answered on 17 Mar 2011, 06:06 PM
Hi Princy
This aboove link isnot correct.
I have this similar problem .
Please help to me.
Thank you
Salman.
0
Mira
Telerik team
answered on 19 Mar 2011, 03:19 PM
Hello Salman,

In order to implement the desired functionality, I recommend that you use the approach from the Span cells in grid over multiple positions code library.
You can see how it works in this demo.

I hope this helps.

Regards,
Mira
the Telerik team
Tags
Grid
Asked by
Mallikharjun Mulagundla
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Salman
Top achievements
Rank 1
Mira
Telerik team
Share this question
or