Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cliffy/table/layout.ts>TableLayout#renderCell

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method TableLayout.prototype.renderCell
import { TableLayout } from "https://deno.land/x/cliffy@v0.17.0/table/layout.ts";

Render cell.

Parameters

colIndex: number

Current col index.

row: Row<Cell>

Current row.

prevRow: Row<Cell> | undefined

Previous row.

rowSpan: number[]

Current row span.

opts: IRenderSettings

Render options.

optional
noBorder: boolean

Disable border.

Returns

string