Next.js Discord

Discord Forum

Tanstack Table different header for subrows

Unanswered
Nova Scotia Duck Tolling Retriev… posted this in #help-forum
Open in Discord
Nova Scotia Duck Tolling RetrieverOP
Hi,

I know this isn't directly related to Next.js, but I think that there's many people here using tanstack table, so I thought I'd ask.

I have a table that looks like this

I would like the subrows to have different headers than the entire table, as these are items related to deliveries. I've searched on GitHub, Google, etc., and it seems that no one has a clear "guide" on how to do it. Even in the official documentation, it's unclear.

Should I simply use another table as a subcomponent, or is there a way in the tanstack table to achieve this?

0 Replies