I have changed “currencysymbol” in Default Localization :
var currencySymbol = "€";
var localizationobj = $("#jqxgrid").jqxGrid('gridlocalization');
localizationobj.currencysymbol = currencySymbol;
In column “Amount” currency is “€” but column “Total” currency is “$”, Why ? How do fix it ?
{ text: ‘Quantity’, dataField: ‘quantity’, cellsformat: ‘D’, width: 150 },
{ text: ‘Amount’, dataField: ‘amount’, cellsformat: ‘c2’, width: 150 },
{ text: ‘Total’, dataField: ‘total’, cellsformat: ‘c2’, width: 200,
cellsrenderer: function (index, dataField, value, defaultvalue, column, rowdata) {
var total = parseFloat(rowdata.amount) * parseFloat(rowdata.quantity);
return ‘<div style=\\’margin: 4px;\\’ class=\\’jqx-align\\’>’ + dataadapter.formatNumber(total, column.cellsformat) + ‘</div>’ ; }
} “/>
Thanks for looking!