PagedTableOptions
TableOptionsTableOptions with budgetbudget required. The overload signal that makes renderTable return string[]string[] of pages.
interface PagedTableOptions extends TableOptionsinterface PagedTableOptions extends TableOptions- optional
align
Cell alignment. A scalar applies to every column. An array sets alignment per column and any column past the end of the array falls back to left.
- optional
border
Frame glyph set. markdownmarkdown emits GFM with no outer frame.
- optional
emptyCell
Fills a missing or empty cell so ragged rows stay aligned.
- optional
fence
Wraps the output in a triple-backtick code block so Discord renders it monospace. The fence characters count against the page budget.
- optional
header
Treats the first row as a header and draws a separator beneath it (heavier for the double and ascii frames).
- optional
maxWidth
Max content display width applied to every column. Wider cells are wrapped or truncated.
Inherited from:TableOptions
- optional
numericAlign
Right-aligns a column whose non-empty body cells are all numeric. The header label is not judged, so a numeric column under a text header still aligns. An explicit align for that column wins.
- optional
overflow
How an over-wide cell is handled once maxWidth is set. wrapwrap word-wraps onto multiple lines, truncatetruncate cuts with a trailing ellipsis. The markdown border applies truncatetruncate but not wrapwrap.
- optional
padding
Spaces on each side of every cell.