Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Simon Irving on Nov 11, 2009 05:09
open dhtmlx forum
Fomatting issues in DHTMLXGrid

Hi there,

I seem to be having some formatting issues with DHTMLXGrid.

Please 'publish' this question so I may add an attachment to illustrate the issue.

Thanks,

Simon
Answer posted by Alex (support) on Nov 11, 2009 05:17

Hello,

please, try to add the attachment now. 

Answer posted by Simon Irving on Nov 11, 2009 05:22
Thanks for the prompt reply; please find attached my attempt setting a mask on a column via XML configuration.

I have tried to set a mask on the 'Prize' column by using the attribute 'format="0.00"'.

I would expect this to format the string 123456.789 as 123456.78 (drop to 2 dp)... however, it doesnt seem to work!

Thanks,

Simon

Answer posted by Alex (support) on Nov 11, 2009 07:25

format attribute (the same as setNumberFormat method) can be applied only to numeric types: edn or ron.

Please, try to use "ron" type instead of "ro" to solve the issue.