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
Agregue una fila "Total" en la parte inferior del CSV react.js

Quiero agregar una nueva fila con solo la etiqueta "Total" y el valor respectivo.

 const csvContent = Papa.unparse( items.map(({ value1, value2, value3}, i) => { let item = { Index: i + 1, Name: value1, Value2: value2, Value3: value3, }; return item; }) );

La tabla se ve así:

 Index | Value1 | Value2 | Value3 1 | value | ... | .... 2 | ... | value | .... 3 | ... | ... | value

Y quiero que sea así

 Index | Value1 | Value2 | Value3 1 | value | ... | .... 2 | ... | value | .... 3 | ... | ... | value Total 234234

*Con una fila vacía entre la última fila de la tabla y la fila total

about 4 years ago · Juan Pablo Isaza
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!