Foxtable(狐表)用户栏目专家坐堂 → 特定行的网格线?


  共有1907人关注过本帖平板打印复制链接

主题:特定行的网格线?

帅哥哟,离线,有人找我吗?
lur320
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:四尾狐 帖子:983 积分:8628 威望:0 精华:0 注册:2015/8/12 16:28:00
特定行的网格线?  发帖心情 Post By:2018/8/20 10:12:00 [只看该作者]

如何在特定行,例如汇总行。在单元格增加下方的网格线?

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



 回到顶部