TanStackT
TanStack15mo ago
1 reply
extreme-purple

Placeholder column span

Hi, I have a question about placeholder headers.

I have an array of ColumnDef, containing two simple accessor columns, followed by a group column. When rendering the first (top) header group, I get two "placeholder" headers (one for each ungrouped column), followed by the group header.

I would like/expect to get a single placeholder header, with colSpan: 2 to span both of the ungrouped columns. I only want to render a single th element here, not two. Is this possible, without manually grouping the ungrouped columns?

I'm sorry if this is a stupid question, and thanks for reading.
Was this page helpful?