I've been looking at the TreeViewAdv control in 1.6 RC1 with a lot of interest. But I've noticed that the custom drawing does not appear to be particularly flexible. For example, If I wanted to draw the node text string in multiple colors, I can't seem to do that without drawing the entire node (including checkboxes, images, etc). Since the NodePaint event appears to occur before the node is painted, any changes that I might make are overwritten unless I report the event as handled.
Also the TextLocation property of the TreeNodeAdvPaintEventArgs doesn't appear to be set in the NodePaint event.
Are there any plans on improving the custom drawing for this control?
PSPrakash S Syncfusion Team June 17, 2003 10:03 AM
Thank you for bringing these issues to our attention. The TreeViewAdv control is still under the development umbrella and therefore any feedback that you provide is extremely valuable to us. The development team has already taken note of your suggestions and you can expect to see the changes in the next release of Essential Tools.
SHSue HarrisJune 17, 2003 04:07 PM
I appreciate your quick response. Since you're interested in the feedback, I have some more.
1. The printDocument property doesn't appear to be using the margins. It always prints in the absolute top left corner.
2. A selected text color, selected text background color property on the node would be very useful.
PSPrakash S Syncfusion Team June 20, 2003 09:50 AM
Thank you. This has been passed on to the development team. As always, we appreciate the feedback.
ADAdministrator Syncfusion Team June 20, 2003 02:57 PM
I am looking for a Tree with in a column. As we expand each node, grid will show more rows. A Hierarchical grid with unlimited number of node levels. A while back I saw some control like this called JTreeTable in Java Swing.
Is there any way to integrate Grid into the tree or vice versa?
ADAdministrator Syncfusion Team June 21, 2003 07:58 PM
> I am looking for a Tree with in a column. As we expand each node, grid will show more rows. A Hierarchical grid with unlimited number of node levels. A while back I saw some control like this called JTreeTable in Java Swing.
> Is there any way to integrate Grid into the tree or vice versa?
> - Reddy
such functionality is planned for the grid in a future release soon after 2.0.
DMDon MackenzieDecember 5, 2003 09:51 AM
Did you find something? I'm looking for the same thing.
ADAdministrator Syncfusion Team December 5, 2003 01:09 PM
Have you looked at the VirtTree sample? It presents an interface that is very similar.
ADAdministrator Syncfusion Team December 6, 2003 12:15 PM
No, I have not found anything so far. I am painting my grid cells with some left text margin based on hierarchical level. This will make it look like the cells are part of a tree. But the user can not collapse/expand different levels.
The virt tree sample can not be used here. It has its own complications and limitations.
It is better to have a dedicated component that does this kind of thing rather than retro-fitting into some existing component. Grid control would be the right choice to extend from.