Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ez on May 15, 2009 14:24
open dhtmlx forum
IE empty param error

Hello!

I have following problem:

In my XML grid config I have:

<beforeInit>            
            <call command="setNumberFormat">
                <param>0,000.00</param>
                <param>1</param>
                <param>,</param>
                <param> </param>
            </call>
</beforeInit>

and the last param:

<param> </param>

cause problems in IE, when param value is SPACE ie show JS error.
Answer posted by Alex (support) on May 18, 2009 01:47

Hello, 

try to use CDATA in this case:

 <beforeInit>  
  <call command="setNumberFormat"> 
  <param>0,000.00</param> 
  <param>1</param> 
  <param>,</param> 
  <param><![CDATA[ ]]></param> 
  </call> 
</beforeInit>