Next
Update
Prev

You can use Currency Formatter (<CurrencyFormatter>) to convert the data string to a currency format.

...
<CurrencyFormatter id="currfmt" />
<CurrencyFormatter id="currfmt1" currencySymbol="₩" />
<CurrencyFormatter id="currfmt2" currencySymbol="¥" />
...  
  <DataGridColumn dataField="Seoul" ... formatter="{currfmt1}" />
  <DataGridColumn dataField="Tokyo" ... formatter="{currfmt2}" />
  <DataGridColumn dataField="Singapore" ... formatter="{currfmt}" />
...

<CurrencyFormatter>

alignSymbol This property is to set the horizontal alignment of the percentage symbol (left, right, default : left).
currencySymbol This property is to set the currency symbol (default : $).
decimalSeparatorTo This property is to set the symbol for the decimal separator (default : .).
precision This property is to set the number of digits of the fractional part. If the value is smaller than 0, it will leave the original value intact.
rounding This property is to set the rounding method (down, nearest, up, none, default : none).
thousandsSeparatorTo This property is to set the symbol for the thousand separator (default : ,).
useNegativeSign This property is to set the symbol for the minus sign. If the value is true then the symbol, "-", will be used for minus values, otherwise if the value is false, then "(" and ")" will be used for minus values. (true, false, default : true)
useThousandsSeparator Whether or not to use the thousand separator (true, false, default : true).

© 2017 KoolChart. All rights reserved.