We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8370a75 commit 8c7df37Copy full SHA for 8c7df37
src/PivotTableUI.jsx
@@ -375,6 +375,10 @@ class PivotTableUI extends React.PureComponent {
375
const numValsAllowed =
376
this.props.aggregators[this.props.aggregatorName]([])().numInputs || 0;
377
378
+ const aggregatorControls = this.props.aggregators[
379
+ this.props.aggregatorName
380
+ ]([])().controls;
381
+
382
const rendererName =
383
this.props.rendererName in this.props.renderers
384
? this.props.rendererName
@@ -468,6 +472,7 @@ class PivotTableUI extends React.PureComponent {
468
472
/>,
469
473
i + 1 !== numValsAllowed ? <br key={`br${i}`} /> : null,
470
474
])}
475
+ {aggregatorControls && aggregatorControls(this.props.data)}
471
476
</td>
477
);
478
0 commit comments