Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jonathan Coombs on Nov 12, 2007 17:35
open dhtmlx forum
Remove images from TreeGrid

In reference to http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=91

These propety settings are not available in the TreeGrid control. Is there some sort of equivalent?

Answer posted on Nov 13, 2007 02:23
There is no tree lines in current version of dhtmlxtreegrid at all ( it will be included in oncoming 1.5 version as optional extension, please write directly to support@dhtmlx.com if you want to preview sample of oncoming functionality )
The plus|minus signs can't be changed to text signs by API, but it can be done but pretty simple modification in js code

dhtmlxtreegrid.js , line 417
_tgc.imst="<img src='"+this.grid.imgURL;
this can be changed to text tag

dhtmlxtreegrid.js , line 13
this.rowsAr[z.id].imgTag.src=this.imgURL+z.state+".gif";
this need to be changed to text tag modification instead of url modification.