Home Forums WPF controls Xceed DataGrid for WPF How to remove spacer row between row and details

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Hjalte
    Participant
    Post count: 3
    #44935 |

    I have master/detail-datagrid. The rows with details automatically add in a white space between itself and the detail rows. How do I remove it?
    Screenshot showing issue
    I’m talking about the space marked red.

    Hjalte
    Participant
    Post count: 3

    Fixed it by setting UseDefaultHeaderFooters to false on the DetailConfiguration, which removed the detail ColumnManagerRow and the spacing. Then I manually create the detail ColumnManagerRow again with the following code:

    ` <xcdg:DetailConfiguration.Headers>
    <DataTemplate>
    <xcdg:ColumnManagerRow />
    </DataTemplate>
    </xcdg:DetailConfiguration.Headers>

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