Posted 31 August 2021, 6:32 pm EST
Hello,
We apologize for the delayed response, kindly refer to the following points for the resolution of the above query:
-
When we load data from an excel file, FlexSheet automatically, inherits the formatting applied in Excel (which is why it was rounding the values to 2 decimal places, as by default Excel sets formatting to 2 decimal places), To update the formatting you may try changing the formatting in Excel file, it should automatically be reflected within FlexSheet.
-
The scenario of setting formatting to “n10” was not working because the formatting imported from excel (which was “n2”) was already defined at the cell level, and thus any changes made in formatting at column level were not being reflected.
Thus, to summarize the above points, you may only update the formatting within Excel File and it should automatically be reflected within FlexSheet.
Hope this clarifies your issue.
Kindly refer to the below sample:
Thanks,
Dushyant Sharma
FlexSheet.zip