How to use thousand separator in datagrid column in cell editng mode.
I use this code it shows thousand separator after loading data and on begain edit but after edit thousand separator disappears from edited cell.
<th data-options="field:'listprice',width:80,align:'right',editor:{type:'numberbox',options:{precision:0, groupSeparator:','}},
formatter:function(value, row){
var number = row.listprice;
return number.toLocaleString('en-US', {minimumFractionDigits: 0});
}
">List Price</th>
Please check following example code.
http://code.reloado.com/jbhatti/34/edit#html,live