Devextreme-angular: zero (0) value not appear when use format in DevExtreme grid

Created on 19 Nov 2019  路  2Comments  路  Source: DevExpress/devextreme-angular

Bug Report

Package versions:

devexteme version: 18.2.7
devextreme-angular version: 18.2.7

Steps to reproduce:

add format= '#,###.##' in grid column like this:
<dxi-column dataField="yourDataField" dataType="number" format="#,###.##"> <dxo-format type="fixedPoint" [precision]="2"></dxo-format> </dxi-column>

and then type number that include '0' or paste number that include '0'.

Current behavior:

The zero value not appear.

Expected behavior:

The zero value must appear.

Screenshots:

format_zero

question

All 2 comments

This is expected behavior. It is necessary to add a leading zero to the format to show 0 in a column. So, you can set the format in this way to resolve the issue:
format="#,##0.##"

OK thanks @LexDX

Was this page helpful?
0 / 5 - 0 ratings