Override table.defaultColumn’s custom cell renderer at the column-definition level.
I have a table to which I pass a
defaultColumn
option with a default cell render. In this simplified example I'm just making it so that each value is rendered as a red div.
But then, in certain cases, I want to wrap this default cell render with my own component to extend it. But I can't figure out a clean and good way to do this. Essentially what I want to achieve is this:
Any ideas/suggestions would be very appreciated!1 Reply
multiple-amethystOP•2mo ago
I suppose this could work:
But ideally there's a way to do this without needing access to
defaultColumn
at the time of defining columns
Doing this works I suppose. Is this the recommended approach?