I struggling while exporting to excel as I got numbers formatted with decimal point always.
If the employee number is 123 once exported to excel I get 123.0
I have made all your format options but I couldn't get number format in excel, I got "Custom" format and get decimal point with one zero.
Please let me know how to solve this.
Thank you for reaching out to us.
We recommend setting the decimal places explicitly to
"0" to show the values without decimal places when exporting to Excel:
You are welcome to check the following JSFiddle for reference: https://jsfiddle.net/flexmonster/p5xmkbr3/
Please let us know if it works for you. Looking forward to hearing from you.
Thank you for your reply, I already tried that solution but it's not working with me.
Here's my code:
caption: "Emp No",
caption: "Employee Name"
caption: "ID NO",
I don't have measures
Thank you for the response and for providing us with the details.
We could not reproduce the described behavior on our side. Please check the following example: https://jsfiddle.net/flexmonster/vpdk7r81/. In this JSFiddle, both numbers are displayed without the decimal places when exported to Excel.
Could you please edit the example above to show us the issue? It would greatly help us.