Categories | Question details Back To List | ||
problem with addrow switching default image? Hi, I'm using: grid.addRow(new_id,text,ind,parent_id,img); but i realized that when adding the new row, specifying the image (for example, as a folder, so i put "folder.gif") instead of the default leaf.gif, doesn't really add a new node with the new image icon. Does the new img icon work? can you provide me with a working example? i cannot find one in the provided sample libraries. or is there a way to dynamically set the row image after I add the node or something? my version is 2008 Rel 2 80512 thanks Answer posted by Support on Aug 22, 2008 02:29 The image can be set by grid.setItemImage(id,"some.gif"); where id - id or row in question. Problem with not working parameter of addRow - confirmed and fixed, please contact us directly at support@dhtmlx.com if you need updated js file ASAP |