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

Allow calculations to return React component for the template

Open AnsonT opened this issue 9 years ago • 1 comments

It'll be useful to support value editors if we can render the template value as a react component if it's a function instead of text.

AnsonT avatar Dec 09 '15 22:12 AnsonT

not quite the same, but similar, we added ability to use a component for a column header. In our case we needed a data filter. (It's on the list to send a pull request, after we add some tests.) It was pretty simple to add. If you want to see how we did it, as I think it is probably similar to what you are wanting to do, https://github.com/davidguttman/react-pivot/compare/master...FieldDayTech:master

fairchild avatar Dec 10 '15 15:12 fairchild