Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by roxana aioanei on Sep 01, 2008 02:37
open dhtmlx forum
cells and CDATA

Hello!

Why isn't it possible to do this:

mygrid.cells(mygrid.getRowId(i),2).setValue('<![CDATA[<a href=''.BASEURL.'managing_bustrip_busses/?pbt='.$busTrip['busTripID'].''&gt;'.LBL_ALOCATE.'</a&gt;]]&gt;');
nothing changed in the cell

Answer posted by Support on Sep 01, 2008 02:49
CDATA sections necessary only when data added from XML, when it added by js command you can use plain HTML

mygrid.cells(mygrid.getRowId(i),2).setValue('<a href=''.BASEURL.'managing_bustrip_busses/?pbt='.$busTrip['busTripID'].''>'.LBL_ALOCATE.'</a>');