none
How to merge two column headers in telerik radgrid RRS feed

All replies

  • Hi,

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

    Please ask question on telerik offical support forum

    http://www.telerik.com/forums/wpf

    Best Regrads,

    Bob


    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 

    Grid.IsSharedSizeScope="True"

    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