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

RadGridView Cell Location

6 Answers 128 Views
GridView
This is a migrated thread and some comments may be shown as answers.
F5F5F5
Top achievements
Rank 1
F5F5F5 asked on 02 Feb 2011, 06:44 PM
I am trying to use RadGridView.RowPain. I need an extra header row to show that the columns are categorized:

e.g.

[-------- Category A --------][-------- Cat B --------][-------- Category C --------]
[--- Col 1 ---][--- Col 2 ---][------- Col 3  --------][--- Col 4 ---][--- Col 5 ---]

This should be relatively easy, except I don't know how to find out the cell locations for the column headers. Because my cells cannot be moved, I tried adding up the cell widths, I had some success - except when use the horizontal scroll bar.

Please can someone explain how to get the cell locations.

Thanks

6 Answers, 1 is accepted

Sort by
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 02 Feb 2011, 06:48 PM
Hello,

In RadGridView there are two ways of doing this via View Definitions. Please have a look at the documentation on
Column Groups Views and HTML Views

Hope that helps.
Regards,
Richard
0
F5F5F5
Top achievements
Rank 1
answered on 02 Feb 2011, 06:52 PM
Thanks - that appears to be exactly what I need. Is it only in Q3 2010 or did I miss it earlier?
0
Richard Slade
Top achievements
Rank 2
answered on 02 Feb 2011, 08:56 PM
You're welome.. glad that helped. Please remember to mark as answer..

as far as I remember it's been there for quite a while but can't remember which release it went into.
If you need further help just let me know
Richard
0
Jack
Telerik team
answered on 03 Feb 2011, 10:43 AM
Hi Alan,

I am glad that you have found a solution for this issue. The described feature is available since Q1 2008. You can find some more ideas in this blog article.

Should you have any further questions, do not hesitate to write back.

Regards, Jack
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
0
F5F5F5
Top achievements
Rank 1
answered on 03 Feb 2011, 11:04 AM
The project I have picked up is now using 2010 Q2 SP2 (I tried to upgrade to 2010 Q3 but had too many compatibility problems to fit my tight timescale). The Column Groups are in this version.

Thanks again :)

I don't use Telerik every day and there are so many features and I don't always know what to search for in the documentation - I usually try to find similar things using google or this forum's search engine. This time I failed to find anything. I must learn to find my way through the documentation better.
0
Richard Slade
Top achievements
Rank 2
answered on 03 Feb 2011, 11:12 AM
Hi,

If you get stuck, just ask on the forums. There's lots of documentation but of course it can't cover everything. You can usually get a reply here to whatever you need.
All the best
Richard
Tags
GridView
Asked by
F5F5F5
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
F5F5F5
Top achievements
Rank 1
Jack
Telerik team
Share this question
or