Aug 27, 2014, 3:24 PM
[CLOSED] Grid numbercolumn format with parentheses around negative numbers
In finance, negative numbers should have () around them instead of - sign. In .NET, it's easy to use a formatstring of "$#,##;($#,##)" to accomplish this. Is there an equivalent in ExtJS for format property of NumberColumn? It seems like NumberColumn uses Ext.util.Format.number in the backend, and that function doesn't seem to support the format string.
>> Ext.util.Format.number(-123.50, '$#,##;($#,##)')
"$-124;($#,##)"
Last edited by Daniil; Aug 28, 2014 at 12:40 PM.
Reason: [CLOSED]