Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

168
Views
How can I have two headers columns for the same column in a material UI table?

I have a simple Material UI table, that will have what looks like a header cell in it's last column. However, I would like that this last header share the column with the header right before it.

Think of it like this: it will be 4 headers on the top, but only 3 columns, and the last two headers share the same column.

Not sure if I am making sense, so here is a sample app to illustrate what I mean.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

you can collapse the Data row like this

<Table className={classes.table}>
  <TableBody>
    <TableRow>
      <TableCell>Data 1</TableCell>
      <TableCell>Data 2</TableCell>
    </TableRow>
    <TableRow>
      <TableCell colSpan={2}>Data Two Columns</TableCell>
    </TableRow>
  </TableBody>
</Table>
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!