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

2 sujets de 1 à 2 (sur un total de 2)
  • Auteur
    Messages
  • 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>

2 sujets de 1 à 2 (sur un total de 2)
  • Vous devez être connecté pour répondre à ce sujet.