Tabulator: exporting xlsx column title

Created on 1 Sep 2017  路  5Comments  路  Source: olifolkerd/tabulator

hi,
how to set the column title of the exported xlsx to the field value and not to the title value?

{ title: "Info", field: "INFOUTILIXCONSEGNA", sorter: "string", editor: 'input', width: 250},

thanks

Enhancement Question - Ask On Stack Overflow

All 5 comments

You would need to create a custom downloader to do this,

I can post some example code for this if you would like.

Cheers

Oli

why not to add another field like "dl-name" and so if it exist it will use this? :)

I can certainly look at adding that as a feature in a later release, but it dosn't exist at the moment.

Cheers

Oli

Hey @lenny76

You will be happy to hear that in today's 3.3 release you can now use the downloadTitle column definition property to set custom column titles in downloaded files:

$("#example-table").tabulator({
    columns:[
        {title:"Name", field:"name", downloadTitle:"Full Name"} //change column title to "Full Name" in download
    ]
});

More information can be found in the Download Documentation

Thanks for the great suggestion!

Cheers

Oli :)

Hi Oli, theres is a new about this request on 4.1 version or is on queue for next features on other next version?

Cheers

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cemmons picture cemmons  路  3Comments

mconnelley picture mconnelley  路  3Comments

soo1025 picture soo1025  路  3Comments

alainpannetier picture alainpannetier  路  3Comments

andreivanea picture andreivanea  路  3Comments