Posted 29 March 2022, 9:00 pm EST
the number is always rounded on UI, given below an example.
user types: 12.03546, UI displays 12.04 (we want to show all precisions, in this case, 12.03546)
user types: 0.25, UI displays 0.25
The issue here is that the precisions is dynamic, like for one row, it could be 2 decimals, for the others, it is 10 decimals.
<wj-flex-grid-column [header]=“‘Risk Factor Value’” [binding]=“‘riskFactorValue’” [dataType]=2 [format]=“‘n2’” [isRequired]=“true” [width]=“150”>
note the following work-around works:
<wj-flex-grid-column [header]=“‘Risk Factor Value’” [binding]=“‘riskFactorValue’” [dataType]=2 [format]=“‘n2’” [isRequired]=“true” [width]=“150”>
<ng-template wjFlexGridCellTemplate [cellType]=“‘Cell’” let-item=“item”>
{{item.riskFactorValue}}