JSFiddle - React, Tailwind, and code Playground
JavaScript
Ext.application({
name: 'Fiddle',
launch: function() {
Ext.create("Ext.Viewport", {
layout : "fit",
items : {
xtype : "gridpanel",
store : Ext.create("Ext.data.Store", {
fields : ["numberwithdots", "numberwithoutdots"],
data : [{
numberwithdots : 1.02,
numberwithoutdots : 1.02
},{
numberwithdots : 109.51,
numberwithoutdots : 109.51
}]
}),
columns : [{
text : "Number with dots",
flex : 1,
dataIndex : "numberwithdots",
renderer: Ext.util.Format.numberRenderer('€ 0.00')
}, {
text : "Number without dots",
flex : 2,
dataIndex : "numberwithoutdots",
renderer: Ext.util.Format.numberRenderer('€ 0')
}]
}
});
}
});