How to merge two column headers in telerik radgrid RRS feed

  • Question

  • Hi,

    I want to merge two column headers in Radgrid.

    • Moved by Bob Ding Monday, October 9, 2017 9:20 AM Move from WPF forum
    Friday, October 6, 2017 8:37 AM

All replies

  • Hi,

    Since your query is outside of this forum scope of support .

    Please ask question on telerik offical support forum


    Best Regrads,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, October 6, 2017 10:16 AM
  • I'm  not sure whether there is any special aspect of radgrid which offers this.

    With a regular wpf datagrid I would consider using a template column and show the two fields in one column.

    You then have no problem with the header but of course the template might be a bit fiddly.

    The editing template will have two textboxes and the default two textblocks.

    Put those in a grid with two columns and use shared size scope so they all line up neatly.

    You need to set 


    On a parent container - I think that'd be the column.

    And you need a group on either column of your grid you're putting the data in.

    <ColumnDefinition Width="Auto" SharedSizeGroup="A"/>
    That then tells all those coliums your datagrid templatecolumn to size to the biggest allowed.

    Hope that helps.

    Technet articles: WPF: Layout Lab; All my Technet Articles

    Saturday, October 7, 2017 9:03 AM