API reference: @salmonui/data-grid/engine/export
hierarchyExportDetailfunction
import { hierarchyExportDetail } from '@salmonui/data-grid/engine/export';function hierarchyExportDetail<Row>(engine: DataGridEngine<Row>, mode: ExportHierarchyMode, user?: DetailHook<Row>, options?: HierarchyDetailOptions): DetailHook<Row> | undefined;
The detail hook of a grid's hierarchy: a nested child-grid model per
parent row by mode, or undefined when mode is none. user (the
export's own detail hook) runs first and wins when it returns a value
(null suppresses the block). In expanded mode with an enabled detail
module, rows whose detail is collapsed get no block (user hook included).
Without a detail module the user hook is returned as is.