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

How to Given Multiple Column Header with col-span

3 Answers 185 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Aravinth
Top achievements
Rank 1
Aravinth asked on 30 Oct 2012, 01:57 PM
Hi,
I am using Telerik.Web.UI.dll 2010.3.1317.35 Version. I have doubts in Rad Grid Multiple Column Header with col-span. ColumnsGroup Tag does not support for this version. so we are trying to use below 2 methods 
1. Using tables TR, TD Method in Header Template in Single Template columns.
2. Server Side code methods of Grid PreRender using add new Header Item using TableHeadercell but after data bind or using column resizing  then gird design will be collapse, 
 
So, Can you Suggest me which is the correct method or any other simple method for multiple column header.

3 Answers, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 02 Nov 2012, 08:29 AM
Hello,

 The MultiColumn Headers feature of RadGrid provides a lot of flexibility and various options for customization to achieve almost any kind of hierarchical headers spanning one or more columns or other multiheaders. You check out the feature in this live demo and found out more information on how to configure it in the relevant help topic.

Greetings,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Aravinth
Top achievements
Rank 1
answered on 02 Nov 2012, 09:23 AM
Hi,
Actually  <ColumnGroups> tag does not support for this telerik Version.  i told that in above comments...
so share me if any another methods for Multiple column header..
0
Marin
Telerik team
answered on 02 Nov 2012, 10:44 AM
Hello,

 Unless you cannot update to the latest version which supports easy defining of MultiColumn headers as previously shown, you can use the GridTemplates column and try to mimic the same layout as shown in this help topic and demo, but note that this approach has some limitation and not all features such as sorting or reordering of columns may work correctly in this case. Additional option on programatically adding multiple header items can also be found in this forum post.

All the best,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Aravinth
Top achievements
Rank 1
Answers by
Marin
Telerik team
Aravinth
Top achievements
Rank 1
Share this question
or