Sep 04, 2009, 3:25 AM
Decimal seperator in gridpanel based on language settings
Hi,
I am diplaying decimal value in gridpanel, here i want to set decimal seperator based on browser language settings
I am diplaying decimal value in gridpanel, here i want to set decimal seperator based on browser language settings
<ext:Column Fixed="false" ColumnID="GrossWeightPerCarton" Sortable="false" MenuDisabled="true"
Resizable="true" DataIndex="GrossWeightPerCarton" Align="Right" Width="85" Header="G.W.">
<Renderer Fn="ValidateGrossWeightPerCartonEdit" />
</ext:Column>
function ValidateGrossWeightPerCartonEdit(value, meta, record, rowIndex, colIndex, store, e) {
return new Number(CF).toFixed(3);}