type(optional) – A string containing the data field’s type. Possible values: ‘string’, ‘date’, ‘number’, ‘bool’.
– – –
is there a specific type for percentage ?
i have a column with attribute cellsformat: ‘p’ and when exported to spreadsheet 0.15% on screen gets exported as 15 in spreadsheet.
i have the column specified as ‘number’ in the source.
thanks for any help.
columns: [{ text: 'Difference', dataField: 'difference', width: 100, cellsalign: 'right', filterable: false, cellsformat: 'p' }]var source ={ datafields: [ { name: 'difference', type: 'percent' } ],