@progress/kendo-react-excel-export
Version:
KendoReact Excel Export package
50 lines (49 loc) • 1.6 kB
TypeScript
import * as React from 'react';
import { ColumnBase } from './ColumnBase';
import { CellOptions } from './ooxml/CellOptionsInterface';
import ExcelExportGroupHeader from './templates/ExcelExportGroupHeader';
import ExcelExportGroupFooter from './templates/ExcelExportGroupFooter';
import ExcelExportFooter from './templates/ExcelExportFooter';
/**
* Represents the props of the KendoReact ExcelExportColumnProps component.
*/
export interface ExcelExportColumnProps extends ColumnBase {
/**
* The options of the column data cells.
*/
cellOptions?: CellOptions;
/**
* The field to which the column is bound.
*/
field?: string;
/**
* The options of the column footer cell.
*/
footerCellOptions?: CellOptions;
/**
* The column footer. Can be a function or a React component.
*/
footer?: Function | ExcelExportFooter;
/**
* The options of the column group footer cells.
*/
groupFooterCellOptions?: CellOptions;
/**
* The footer of the group. Can be a function or a React component.
*/
groupFooter?: Function | ExcelExportGroupFooter;
/**
* The options of the column group header cells.
*/
groupHeaderCellOptions?: CellOptions;
/**
* The header of the group. Can be a function or a React component.
*/
groupHeader?: Function | ExcelExportGroupHeader;
}
/**
* Represents the columns of the KendoReact ExcelExport component.
* @returns null
*/
declare const ExcelExportColumn: React.StatelessComponent<ExcelExportColumnProps>;
export default ExcelExportColumn;