Sorting on custom cell that renders a component #3592
Unanswered
JamesGarbaczewski
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a component I am rendering as the contents of a cell.
My goal is to sort by the primitive of the text either Great or Bad. If I was to directly rendering either
<FancyText>Great</FancyText>
or<BoringText>Bad</BoringText>
I can make the accessor the children prop. However, in this case I actually need to sort by the results of rendering the component and then the children of that.This may be the wrong approach and I may be helped more by guidance extracting/rendering/sorting of complex cells.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions