Categories | Question details Back To List | ||
DhtmlGrid I have a functionality where it is required to place an icon and some text next to that icon, inside a single cell. Could you please give an example of how to do that, what will be the cell type for such a content. I have tried setting cell type to 'img' and 'dyn' but it does not work. The image and text next to it is all dynamic, so cant put them together as a single image. Please help. Answer posted by Support on Feb 05, 2008 01:22 There are two ways a) Create custom excell - in custom excell you can define how incoming data will be transformed in HTML, please check http://dhtmlx.com/docs/products/dhtmlxGrid/doc/guide.html#grid_excell_add b) Just use HTML formating - you can specify column type as "ro" and use HTML inside XML <row id="123"> <cell><![CDATA[ <img src="some.gif"> Some text ]]></cell> </row> |