@kanunilabs/datagrid / PrintLayoutOptions
Interface: PrintLayoutOptions
Properties
always?
optionalalways?:boolean
Stay in print layout permanently — for a grid rendered INTO a report page.
maxRows?
optionalmaxRows?:number
Above this many rows the grid does NOT switch (default 5.000): print layout puts every row in the DOM, and past report sizes that is a frozen tab behind a dialog the user cannot cancel. Use exportPdf() there.
onLimit?
optionalonLimit?: (info) =>void
Called when a print is asked for and the result is over maxRows, so the
grid prints the rows on screen only. Tell the user, or offer the PDF
export: without it the shorter printout is silent (2026-10-28).
Parameters
info
maxRows
number
rows
number
Returns
void