Home › Forums › WinForms controls › Xceed Grid for WinForms › Xceed Grid for .Net – child rows border aren’t displayed corectly. › Reply To: Xceed Grid for .Net – child rows border aren’t displayed corectly.
This is not possible, the border has no place to be drawn when it is set to 0. So you will have to set at least one border to 1 pixel.
As for the width of the margin of the detail grids, you can use the DetailGrid.SideMargin.Width to retrieve it.
colChildValue.Width = 200 – e.Grid.SideMargin.Width;
colChildValue2nd.Width = 200 – e.Grid.SideMargin.Width – e.Grid.ParentGrid.SideMargin.Width;
for the second detail grid.
Imported from legacy forums. Posted by André (had 1819 views)