Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by David on Jan 13, 2010 11:32
open dhtmlx forum
TreeGrid - Is there a way to set images in other columns

We're using toolkit v2.1 and loading a treegrid from XML. Is there a way to load an image in any other column other than the first column? I tried the following but was unsuccessful:

<?xml version="1.0" encoding="UTF-8"?>
<rows>
<row id="0013" open="1">
<cell image="iconStar.gif" open="1"> Testing info</cell>
<cell>Data1</cell>
<cell>Data2</cell>
<cell image="iconStar.gif"></cell>


Thank you - David
Answer posted by Stanislav (support) on Jan 14, 2010 02:23
You can use "img" column type


<cell type="img">iconStar.gif</cell>