Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

249
Visualizações
React - How to build a custom data grid/pivot table in React?

I have been trying to build a custom data grid/pivot table in React but unable to understand now to nest the data properly or recursively call the next data to do so. Following images show how the table would work:

https://i.stack.imgur.com/aAsHK.jpg

https://i.stack.imgur.com/803yR.jpg

https://i.stack.imgur.com/XOGga.jpg

As it can be seen from the images in the links, the entire table works on a hierarchical basis the the way data is stored in the db is tabular itself.

Eg. | Local Group | Galaxy | Solar System | Planet | Location | Population |

  1. groupA g1 ss1 p1 america 10
  2. groupA g2 ss2 p2 india 15
  3. groupB g3 ss3 p3 sgp 4
  4. groupB g3 ss3 p4 dubai 11
  5. groupB g3 ss4 p5 uk 13
  6. groupB g4 ss5 p6 netherlands 16

Basically, there can be multiple local groups and each local group can contain multiple galaxies which can further contain multiple solar systems. Each solar system can then contain multiple planets which can contain multiple locations. Each location has a population.

I need a table to be able to group these up on the basis of columns as shows in the images. Currently what I've tried is building a nested data but the level of nesting for 5 columns in way too much complexity.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda