Documentation

@kanunilabs/pivotgrid-react-enterprise


@kanunilabs/pivotgrid-react-enterprise / PivotDrillDownModalProps

Interface: PivotDrillDownModalProps

Properties

colPath

colPath: string[]


dictionary?

optional dictionary?: Partial<PivotDictionary>

Your own wording for any caption, as the grid's dictionary prop takes it.


fields?

optional fields?: readonly PivotField<any, PivotCellTemplate, any>[]

The pivot's fields: columns are titled by their captions, not the record keys.


locale?

optional locale?: PivotLocale

The window's language. The app renders this window itself, usually outside the grid, where it cannot see the grid's locale — pass the same one. Inside a grid (or a PivotConfigProvider) it follows that when unset.


onClose

onClose: () => void

Returns

void


records?

optional records?: any[]

The cell's rows (cellClick.records). Leave it out when you give source.


rowPath

rowPath: string[]


source?

optional source?: PivotRowSource<any>

The cell's rows as a source read page by page (B.111): cellRowSource(controller, rowPath, colPath) or ref.getSelectionRowSource(). Only the page on screen is built — the form for a columnar grid, where a grand total's records would build every row at once. Wins over records.