Home Forums WinForms controls Xceed Grid for WinForms Multiple Columns Support

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #13240 |

    Hi,

    One thing that is troubling my memory, maybe some of you can help me out. Is it possible to have multiple columns in this grid? I mean… with organization… something like this:

    _A_|_B_|____C____|_D_|
    _A_|_B_|_C1_|_C2_|_D_|

    Thanks
    [[ ]]

    Imported from legacy forums. Posted by ledz (had 1818 views)

    User (Old forums)
    Member
    Post count: 23064

    Yes, this is possible. I did not use it but found it in the Xceed Help File:

    <i>
    <b>How to create multiple (grouped) column headers</b>

    Introduction
    The grid does support having more than one ColumnManagerRow in its headers, however it does not support (directly) having grouped column headers as demonstrated in the image below:

    In order to simulate column grouping you must create a custom row (that derives from the Row class and not from the ColumnManagerRow class) and use it in your grid.

    Demonstration
    The following code (class) demonstrates the minimum implementation required to simulate column grouping:
    [SNIP]
    </i>

    Imported from legacy forums. Posted by Kai (had 3032 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.