I'm having trouble figuring out how to apply a left border to the first "cell" in an expanded item. I have applied a bottom border to all cells in the parent row except for the expand/collapse row, and I wanted to apply a left border so that it makes a right angle with the bottom border of the parent row...what would be the best way to approach this? Below is the code I am using for the bottom border of the parent row.
if (OrdersGrid.Items.Count > 1){ for (int i = 0; i < OrdersGrid.Items.Count - 1; i++) { GridItem item = OrdersGrid.Items[i]; for (int j = 1; j < item.Cells.Count; j++) item.Cells[j].Style["border-bottom"] = @"1px solid #828282;"; }}else if (OrdersGrid.Items.Count == 1){ GridItem item = OrdersGrid.Items[0]; if (OrdersGrid.Items[0].Expanded) for (int j = 1; j < item.Cells.Count; j++) item.Cells[j].Style["border-bottom"] = @"1px solid #828282;"; else for (int j = 1; j < item.Cells.Count; j++) item.Cells[j].Style["border-bottom"] = "none;";}