jeudi 28 juillet 2016

Add Hidden column when exporting to CSV

This is my code : I am using bootstrap table in php laravel. Plz Help. $matched.bootstrapTable({ data: matchedData, height: getHeight(), exportTypes: ['csv', 'excel'],

exportOptions:
{
    fileName: '',
    ignoreColumn: [4,5,6],
    visible: [7,'true'],


},

rowStyle: highlightExtraCommission, columns: [ /{ field: 'state', checkbox: true, rowspan: 2, align: 'center', valign: 'middle' },/ { title: 'Booking ID', field: 'booking id', align: 'center', valign: 'middle', sortable: true, formatter: bookingFormatter }, { title: 'Accounting hidden information', align: 'center', valign: 'middle', formatter:showAccountingNotesFormatter, Visible: false

},



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire