SharpLeaf Reference > Table Methods > SetRowGrid Method

Table.SetRowGrid Method

Set horizontal grid decoration (defaults to 0.1 black solid).



  // 2-pt thick grid every other row - without changing color or style
   tb.SetColumnGrid(new int[] {0,2});


Each grid setting will be cycled through independently, from current row on. They apply to the gridline below the row, unless it is the last row (which uses Table.Box). Using an empty vector or omitting an argument doesn’t change the corresponding cycle.

See also ...

Table Appearance | Table Cyclic Settings | Table Glossary | Table Members | Table.SetCellBox Method | Table.SetColumnGrid Method

Send comments on this topic
© Dyalog Ltd 2016