How can I apply a number format to cell wich is in a view only mode?
Current pro-format example explains the edit mode. I have tried the “ro” type with the format=“0,000” but it is not working.
Here is what I tried:
Amount
…
Please, adivse.
Thank you,
Stan.
In current version format can be applied only to edn excell , but you can use next way
<column width=“70” format=“0,000” type=“edn” id=“xyz”>Amount
and in js initialization code
grid.attachEvent(“onEditCell”,function(stage,rid,cind){
if (cind==INDEX) return false;
return true;
});
where INDEX - index of column which must be readonly
Thank you for the advice, it works great!
Stan.