I’m currently using ‘attachObject(id)’ to attach a TreeGrid to a dhtmlxWindow object.
When resizing the window, the attached object is not resized. Looking through the forums and the examples, ‘attachTreeGrid()’ looks as if it should solve the issue. However, the attachTreeGrid() function does not seem to be part of the dhtmlx library.
The method ‘attachTreeGrid()’ is documented in ‘dhtmlxwindows___integration_with_other_components.html’, but grepping through the sources gives no results. ‘attachTree()’ and ‘attachGrid()’ both works though.
I checked that file and could not find such a method at all
However attachGrid() works fine with tree grid.
Looks like this method attachTreeGrid() is totally unnecessary as both grid and tree grid have the same base object for initialization.
Please correct me if I’m wrong.