plotly / react-pivottable

React-based drag'n'drop pivot table with Plotly.js charts
https://react-pivottable.js.org/
MIT License
1k stars 259 forks source link

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

Open rrameshkumar76 opened 5 years ago

rrameshkumar76 commented 5 years ago

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 commented 5 years ago

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.

nicolaskruchten commented 5 years ago

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

crapthings commented 5 years ago

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