securedeveloper / react-data-export

Export dataset in react.
https://securedeveloper.github.io/react-data-export/
MIT License
179 stars 194 forks source link

numFmt does not add a dollar sign in front of my munber #119

Closed MajdMaghamez closed 4 years ago

MajdMaghamez commented 4 years ago

I am trying to format a multidata set i normalized my data to look exactly like the example on this link: https://github.com/securedeveloper/react-data-export/blob/master/examples/styled_excel_sheet.md and in style element i am doing the following: style = { font: { color: { rgb: "FF000000" } }, numFmt : "$0.00"}; but once you export that excel file non of my values have a $ sign I noticed the color has changed so that is working. can you provide examples on using numFmt please ?

Thanks

securedeveloper commented 4 years ago

Please use a formated dataset in this case,

atefBB commented 9 months ago

Please use a formated dataset in this case,

Can you give me more info about that ? I'm facing the same issue ! Thanks.