my parent data grid and its details view grid have the same column set.
I would like to make all columns width for details view grid the same as in parent grid.
It means that every column of details view grid have the same width as its corresponding column in parent grid.
To do this, I set padding of all sides of details view grid to zero, except for left side which I set to the width of expander column.
But, there is always an unexpected distance between right edge of last column in details view grid and the right edge of data grid (like in picture below).
I would like these edges to overlap, please help.