Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Mort Reddov on Jan 26, 2009 02:54
open dhtmlx forum
dhtmlxTreeGrid: enableTreeGridLines / enableTreeLines

(1) You have a typo in both your online/offline documentation for TreeGrid:

Docs Explorer --> Documentation Tab --> dhtmlxGrid/TreeGrid --> Guide --> dhtmlxTreeGrid Extension --> Lines between nodes:

It says: "treegrid.enableTreeLines(true);"
I guess it should be "treegrid.enableTreeGridLines(true);"

(2) When I set 'enableTreeGridLines()' to 'true', I get the following behaviour in IE6:

The +/- and 'blank' icons disappear (NOT the 'folder'/'leaf' gif) and are replaced by "missing image" placehoders (red x symbol).
Also, the row cannot be expanded anymore.

In FF 3.0.5, the icons are also missing but no placeholder is shown.
The row is also not 'clickable' in order to add (sub-)rows to it.

Thanks for your support.
Answer posted by Support on Jan 26, 2009 05:03
>>(1) You have a typo in both your online/offline documentation for TreeGrid:
Thanks for remark, it will be fixed in nearest time. 

>>(2) When I set 'enableTreeGridLines()' to 'true', I get the following behaviour in IE6:
Please be sure that 
a) codebase/dhtmlxtreegrid_lines.js  included on the page
b) you are using one of the image folders which supports tree lines
     codebase/imgs/icons_greenfolders
     codebase/imgs/icons_books_greenfolders
     codebase/imgs/csh_bluebooks
Answer posted by Mort Reddov on Jan 28, 2009 04:41
Thanks, the image folder was not included.
Now it works fine.