GetDetailRowsContext

Context provided to ExportOptions.getDetailRows() callback used when exporting Detail Rows

TypeScript
export interface GetDetailRowsContext<TData = any> extends
Extends

BaseExportContext

Properties

PropertyTypeDescription
adaptableColumnAdaptableColumn<TData>Column of Master Row Node
createCellCsv(cellContent: any) => CsvCellFactory function to create a CSV Cell
createCellExcel(cellContent: any, cellType: ExcelDataType) => ExcelCellFactory function to create an Excel Cell
createCellHeader(cellContent: any) => ExcelCellFactory function to create an Header Cell (either CSV or Excel)
isExpandedbooleanWhether the Master Row Node is expanded
masterRowDataTDataData of Master Row Node
masterRowNodeIRowNode<TData>Master Row Node
adaptableContextanyCustom application Context provided in AdaptableOptions.adaptableContext

Property Details

adaptableColumn

Column of Master Row Node

TypeScript
adaptableColumn: AdaptableColumn<TData>;
Property Value

AdaptableColumn<TData>

createCellCsv

Factory function to create a CSV Cell

TypeScript
createCellCsv: (cellContent: any) => CsvCell;
Property Value

(cellContent: any) => CsvCell

createCellExcel

Factory function to create an Excel Cell

TypeScript
createCellExcel: (cellContent: any, cellType: ExcelDataType) => ExcelCell;
Property Value

(cellContent: any, cellType: ExcelDataType) => ExcelCell

createCellHeader

Factory function to create an Header Cell (either CSV or Excel)

TypeScript
createCellHeader: (cellContent: any) => ExcelCell;
Property Value

(cellContent: any) => ExcelCell

isExpanded

Whether the Master Row Node is expanded

TypeScript
isExpanded: boolean;
Property Value

boolean

masterRowData

Data of Master Row Node

TypeScript
masterRowData: TData;
Property Value

TData

masterRowNode

Master Row Node

TypeScript
masterRowNode: IRowNode<TData>;
Property Value

IRowNode<TData>

adaptableContext

Inherited from BaseContext

Custom application Context provided in AdaptableOptions.adaptableContext

TypeScript
adaptableContext: any;
Property Value

any