Interface AppendRowsOptionsIf

Options of tableApi.appendRows(rows, options).

Example

const result = tableApi.appendRows(lines, { follow: "auto", maxRows: 1_000_000 });

Since

1.1.108

Hierarchy

  • AppendRowsOptionsIf

Properties

Properties

Where the view goes – see AppendFollowMode. Default "auto".

maxRows?: number

Ring buffer: keep at most this many rows – the oldest (first) rows of the data are removed from the start, in blocks of at least 1 % of maxRows (removing from the start of an array moves all rows: O(n) – the blocks make that rare), so the row count stays between 99 % and 100 % of maxRows. Selection, focus and the visible row stay at their rows; a selected row that is removed leaves the selection.