如何在特定行,例如汇总行。在单元格增加下方的网格线?
If e.Row.IsGroup=True Then
e.style="group"
e.Row.grid.styles.Normal.Border.Style = C1FlexGrid.BorderStyleEnum.Flat ?
e.Row.grid.styles.Normal.Border.width = 1 ?
End If
还是下面的代码怎么改改?
Dim cs1 As C1.Win.C1FlexGrid.CellStyle = CurrentTable.Grid.Styles.Add("Borderline")
Dim rng As C1.Win.C1FlexGrid.CellRange = CurrentTable.Grid.GetCellRange(1,2, 3,3) 怎么和e.row联系起来?
cs1.backcolor = color.yellow
cs1.forecolor = color.red
cs1.Border.Direction = 1
rng.style = cs1