Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jorge Arzuaga on Feb 19, 2009 14:23
open dhtmlx forum
Grid XML load

Hi, I trying loading chekbox from xml file as show in below code, but don`t work only show for second column "a" this is possible ?
Thanks..

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
        <rows><row id="1"><cell>1</cell>
                        <cell>JORGE LUIS ARZUAGA SALAZAR</cell>
                         <cell>a<input tabindex="1" type="checkbox" name="permiso_accessGrid[]" value="0" id="permiso_accessGrid[]" checked="checked" /></cell>
                </row>
        </rows>
Answer posted by Support on Feb 20, 2009 05:06
You can use inline HTML, just wrap it in CDATA section and use some column without formatting ( such as "ro" )

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> 
  <rows><row id="1"><cell>1</cell> 
  <cell>JORGE LUIS ARZUAGA SALAZAR</cell> 
  <cell><![CDATA[a<input tabindex="1" type="checkbox" name="permiso_accessGrid[]" value="0" id="permiso_accessGrid[]" checked="checked" />]]></cell> 
  </row> 
  </rows>

Answer posted on Feb 20, 2009 05:28
Thanks...!