Categories | Question details Back To List | ||
addRow html-allowed text A want intagrate DHTMXGrid with Cake-framework. In cake exist method $ajax->link(...) , this return html-text. I need insert this in cell, but don't find in API, how I can make this. Can I add HTML-allowed text using addRow()? And what type of cell must I use in this way? Answer posted on Nov 20, 2007 07:00 >>Can I add HTML-allowed text using addRow()? And what type of cell must I use in this way? All default excells accept HTML as values so the next command is fully legal grid.addRow(1,[1,2,"<a>Link</a>",4]); The same in XML may look as <row id="1"> <cell>1</cell> <cell>2</cell> <cell><![CDATA[<a>Link</a>]]></cell> <cell>4</cell> </row> There are special excell types which are not accept HTML ( they are safe for usage HTML specific chars , such as & > < ) - rotxt,edtxt,txttxt,cotxt |