Module

x/fluentci/deps.ts>Cell#rowSpan

This is the command line interface for FluentCI.
Go to Latest
method Cell.prototype.rowSpan
import { Cell } from "https://dotland.deno.dev/x/fluentci@v0.13.0/deps.ts";

Set row span.

import { Cell, Table } from "./mod.ts";

new Table()
  .body([
    [
      new Cell("Row 1 & 2 Column 1").rowSpan(2),
      "Row 1 Column 2",
      "Row 1 Column 3",
    ],
    [new Cell("Row 2 Column 2 & 3").colSpan(2)],
  ])
  .border()
  .render();

Parameters

span: number

Number of rows to span.

optional
override = [UNSUPPORTED]

Override existing value.