Module

x/fluentci/deps.ts>Cell#colSpan

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

Set col 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 cols to span.

optional
override = [UNSUPPORTED]

Override existing value.