Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Miguel on Apr 10, 2008 06:58
open dhtmlx forum
TreeGrid Child Node Tabbing

When I load an xml tree into a dhtmlXTreeGrid with multiple levels, there is no indentation for the child nodes on the Tree column. This makes it hard to identify the level of each item. For example:

The grid displays this:

- Parent
+ Child1
- Child 2
GrandChild
+ Child 3


When I would like it to display like this:

- Parent
+ Child 1
- Child 2
GrandChild
+ Child 3


Am I missing something that's ommiting this indentation?

Thanks in advance for your help,
Miguel
Answer posted by Support on Apr 10, 2008 07:52
Please be sure that you have correct path to grid css file and correct path to image folder set ( setImagePath )
Grid uses an image as a spacer (blank.gif), the image has a "space" css class assigned, so please be sure that such css class name not redefined in some custom css

dhtmlxgrid.css
div.gridbox table.obj td span.space, div.gridbox table.obj td img.space{
    width:18px;
    }