We’re using TreeGrid with a tree in the first column, and other data in subsequent columns. We have the tree lines turned on, and are using the little [+] and [-] icons for the expansion/collapse symbols. That is all well and good. However, the customer does not want the little “page” icon (that is, leaf.gif) to show - they want no icon there at all, but rather, the node lable begin at that point.
So, the tree would look something like this (this example is using ASCII, but in reality we’re using the icon graphics):
[-]--+--- Node 1 [-]--+-- # Node 1 | |----- Node 1.1 Instead of: | |---- # Node 1.1 | +----- Node 1.2 | +---- # Node 1.2 +------- Node 2 +------ # Node 2
Is there a way to turn this off in the TreeGrid? The Tree object seems to have a method to do this, but I cannot find one for the TreeGrid. If I try to call the Tree object’s method from the TreeGrid object, I get errors (it does not exist).
In terms of OOP, is TreeGrid not derived from Tree & Grid as base classes? It appears that is the case… unless I’m missing something.