javascript - Exporting to excel with proper cell formatting on ag-grid -


when export table excel using ag-grid's own exportdataasexcel() resulting excel contains dates general data type instead of date.

[excel pic]

i have used this:

exportdataasexcel({    processcellcallback: ({col, val}) => {( /*date value formatting here*/ )} }) 

to format both date, string proper date formatting (dd/mm/yyyy) can't make excel recognize these cells date instead of general

this reproducible excel export examples on website: https://www.ag-grid.com/javascript-grid-excel/?framework=all#gsc.tab=0


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -