@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
36 lines (35 loc) • 1.09 kB
JavaScript
import * as React from 'react';
import { WizardSummaryPage } from '../../Components/WizardSummaryPage';
export class ReportSummaryWizard extends React.Component {
constructor(props) {
super(props);
}
render() {
let keyValuePairs = [
{ Key: 'Name', Value: this.props.data.Name },
{
Key: 'Column Scope',
Value: this.props.api.exportApi.internalApi.getReportColumnScopeLongDescription(this.props.data),
},
{
Key: 'Row Scope',
Value: this.props.api.exportApi.internalApi.getReportExpressionDescription(this.props.data, this.props.api.columnApi.getColumns()),
},
];
return (React.createElement(WizardSummaryPage, { KeyValuePairs: keyValuePairs, header: this.props.moduleInfo.FriendlyName }));
}
canNext() {
return true;
}
canBack() {
return true;
}
next() { }
back() { }
getIndexStepIncrement() {
return 1;
}
getIndexStepDecrement() {
return 1;
}
}