borderType property
Whether line separators should be drawn between rows and columns, and whether the table should include a border.
Options available:
grid
: draw an outline box and a rule line between each row and column.header
: draw a line border around the table with a rule line between the table header and the rows,horizontal
: draw rule lines between each row only.vertical
: draw rule lines between each column only.outline
: draw an outline box, with no rule lines between rows and columns.
The default is header
, drawing outline box and header borders only.
To display a table with no borders, instead set the borderStyle property to BorderStyle.none.
Implementation
// TODO: Add BorderType.interior that is grid without outline
BorderType borderType = BorderType.header;