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

348
Views
How to export tabulator data to csv including formatting

Is there any way to export tabulator data to CSV using formatting,

I am using Vue tabulator, Exporting is working fine but it does not include formatted data.

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

0

Exports specifically only include unformatted table data because a lot of formatters include HTML elements that add graphical component to the cells that would not make sense in downloaded file (progress bars for example).

That being said if you would like to transform data as it is being exported, you could look at using an accessor, these are used to transform data as it is leaving the table. in this case we will need to use an accessorDownload accessor.

For the sake of example, lets assume we are doing this to the name column and want to prefix the word "mr " to the beginning of every value;

We would star by defining our accessor function:

function mrAccessor(value, data, type, component, row){
    return "mr " + value; //prepend string to value
}

Then in our column definition we would assign the accessor to the column:

{title:"Name", field:"name", accessorDownload:mrAccessor},

The data that is exported with the include the changed name values, but the values in the Tabulator table itself will remain unaffected

For full details, have a look at the Accessor Documentation

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!