Render multiple cols in one cell
What if i dont want to render 2 diff columns 'name' and 'phone' but wanna render a single column with a cell like <div>{name}<br />{phone}? How can i get the both values for the cell?
1 Reply
ratty-blush•2y ago
two ways that both seem like kind of the same thing
i.e., you can select both using an accessor function, or select one and use
row.original
to get the other. in your case, since name and phone are both equally important, maybe the second is clearer?