react-pivottable icon indicating copy to clipboard operation
react-pivottable copied to clipboard

Is there a way to pass a title to table to display for row and column names rather than json key for table renderer

Open rrameshkumar76 opened this issue 6 years ago • 3 comments

Is there a way to pass a title to table to display for row and column names for table renderer? This is for data like { attr1: 'value1_attr1', attr2: 'value1_attr2', }

Rather that attr1 I want table to display a title in the table

rrameshkumar76 avatar Jul 18 '19 21:07 rrameshkumar76

The only way I could do this was to fork the project and add pass colHeadings/title and rowHeadings/title as array value props to the pivotData.

rrameshkumar76 avatar Jul 21 '19 13:07 rrameshkumar76

There's no built-in feature for this, no, sorry!

nicolaskruchten avatar Jul 21 '19 19:07 nicolaskruchten

it would be great to have this feature, because data have same name when aggregation

crapthings avatar Oct 12 '19 06:10 crapthings