API reference: @salmonui/data-grid
DataGridPrintinginterface
import type { DataGridPrinting } from '@salmonui/data-grid';interface DataGridPrinting<Row = unknown> {
readonly scope?: 'all' | 'page';
readonly hierarchy?: ExportHierarchyMode;
readonly detail?: ExportHandlers<Row>['detail'];
readonly tree?: 'expanded' | 'all';
}
Print scope, hierarchy, detail and tree options.
| Name | Signature | Description |
|---|---|---|
scopeoptional | readonly scope?: 'all' | 'page'; |
|
hierarchyoptional | readonly hierarchy?: ExportHierarchyMode; | Detail and child-grid rows: |
detailoptional | readonly detail?: ExportHandlers<Row>['detail']; | A detail block printed after a data row (text lines or a child table), as
the export |
treeoptional | readonly tree?: 'expanded' | 'all'; | Tree mode: |