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

507
Views
MUI Datagrid muestra una matriz de objetos

Estoy usando Redux para obtener datos de mi API y así es como se ven mis datos:

ingrese la descripción de la imagen aquí

El problema al que me enfrento es una forma de mostrar los datos de la matriz de objetos llamada pregunta.

Estoy usando render Cell para renderizar datos para filas actualmente, aquí está el fragmento de eso:

 return { field: item.dbCol, // I've a config file, which reads field name from a loop type: item.fieldType, width: item.columnWidth, renderCell: (params) => { return item.elements.map((element, iterator)=>{ switch (element.columnType) { case 'Question': return params.row.question.map((item)=><p>{item.answer}</p>); }

Esto es lo que he intentado hasta ahora, ¡pero no puedo obtener los datos del objeto de pregunta con la columna derecha!

Cualquier ayuda sería realmente apreciada.

over 4 years ago · Santiago Trujillo
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!