RadGridView Cell Location

7 posts, 1 answers
  1. F5F5F5
    F5F5F5 avatar
    7 posts
    Member since:
    Oct 2009

    Posted 02 Feb 2011 Link to this post

    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
  2. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 02 Feb 2011 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. F5F5F5
    F5F5F5 avatar
    7 posts
    Member since:
    Oct 2009

    Posted 02 Feb 2011 Link to this post

    Thanks - that appears to be exactly what I need. Is it only in Q3 2010 or did I miss it earlier?
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 02 Feb 2011 Link to this post

    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
  6. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 03 Feb 2011 Link to this post

    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.
  7. F5F5F5
    F5F5F5 avatar
    7 posts
    Member since:
    Oct 2009

    Posted 03 Feb 2011 Link to this post

    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.
  8. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 03 Feb 2011 Link to this post

    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
Back to Top
UI for WinForms is Visual Studio 2017 Ready