UNPKG

@adaptabletools/adaptable-cjs

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

37 lines (36 loc) 1.13 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CustomSortSummaryWizard = void 0; const tslib_1 = require("tslib"); const React = tslib_1.__importStar(require("react")); const WizardSummaryPage_1 = require("../../Components/WizardSummaryPage"); class CustomSortSummaryWizard extends React.Component { constructor(props) { super(props); } render() { let keyValuePairs = [ { Key: 'Column', Value: this.props.api.columnApi.getFriendlyNameForColumnId(this.props.data.ColumnId), }, { Key: 'In', Value: this.props.data.SortedValues.join(', ') }, ]; return (React.createElement(WizardSummaryPage_1.WizardSummaryPage, { KeyValuePairs: keyValuePairs, header: this.props.moduleInfo.FriendlyName })); } canNext() { return true; } canBack() { return true; } next() { } back() { } getIndexStepIncrement() { return 1; } getIndexStepDecrement() { return 1; } } exports.CustomSortSummaryWizard = CustomSortSummaryWizard;