UNPKG

@adaptabletools/adaptable

Version:

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

32 lines (31 loc) 880 B
import * as React from 'react'; import { WizardSummaryPage } from '../../Components/WizardSummaryPage'; export 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, { KeyValuePairs: keyValuePairs, header: this.props.moduleInfo.FriendlyName })); } canNext() { return true; } canBack() { return true; } next() { } back() { } getIndexStepIncrement() { return 1; } getIndexStepDecrement() { return 1; } }