Datatable export to excel issue with amount field 2 cell sume issue. For example A1 = 1,250.50 and A2=500. After export to excel when I select both cells together sum is appearing unexpected.
Loading
Datatable export to excel issue with amount field 2 cell sume issue. For example A1 = 1,250.50 and A2=500. After export to excel when I select both cells together sum is appearing unexpected.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pankajkumar PatelPosted Dec 7, 2022, 9:33 AM
Hi Rushang Vora,
You can resolved this using "data.replace( /[$,]/g, '' )" as following:
For more details:
Hope this will help you!