MultiColumnTreeView
I cannot get vertical scrolling to work with a multi-column tree view.
Attached is a project exhibiting the behavior.
Using VS.Net 2005 C#.
I have tried 5.1.1.9 and 5.1.1.41 and both exhibit the same issue.
I cannot change the VScroll property in the designer (switches back to false).
Setting it to true in the code or using tree.AutoScroll = ScrollBars.Vertical does not affect it.
I have seen this thread below, but didn't see any real resolution.
http://www.syncfusion.com/support/forums/message.aspx?MessageID=62022
I need a solution to this ASAP.
Thanks,
jc
Attached is a project exhibiting the behavior.
Using VS.Net 2005 C#.
I have tried 5.1.1.9 and 5.1.1.41 and both exhibit the same issue.
I cannot change the VScroll property in the designer (switches back to false).
Setting it to true in the code or using tree.AutoScroll = ScrollBars.Vertical does not affect it.
I have seen this thread below, but didn't see any real resolution.
http://www.syncfusion.com/support/forums/message.aspx?MessageID=62022
I need a solution to this ASAP.
Thanks,
jc
SIGN IN To post a reply.
5 Replies
AJ
Ajish
Syncfusion Team
August 9, 2007 10:43 PM UTC
Hi Josh,
The default behaviour of MultiColumnTreeview is that the Vscroll and the HScroll properties can only be set when the number of nodes populated at design time or at runtime are more than the controls view area. The Scrollbars will only appear when the number of nodes loaded are more than the TreeView height, provided we set the Vscroll to true after loading the nodes.
Kindly try it and let me know if this helps in resolving your issue.
Regards,
Ajish.
JC
Josh Collins
August 9, 2007 11:28 PM UTC
How would this work if the control is docked to 'fill' and the height of the control is variable?
Are you suggesting that I set VScroll = true after all nodes are loaded and after each node expansion?
Why is this behavior so much different from the expected behavior of the TreeViewAdv
Are you suggesting that I set VScroll = true after all nodes are loaded and after each node expansion?
Why is this behavior so much different from the expected behavior of the TreeViewAdv
AJ
Ajish
Syncfusion Team
August 10, 2007 08:05 PM UTC
Hi Josh,
Here is the details for your questions,
How would this work if the control is docked to 'fill' and the height of the control is variable?
- The Scrollbars will appear when the number of nodes loaded are more than the TreeView height
Are you suggesting that I set VScroll = true after all nodes are loaded and after each node expansion?
- you need to set the VScroll = true after the nodes are loaded. Since the scroll cannot work on empty node collection.
Kindly let me know if you need any additional details,
Regards,
Ajish.
Here is the details for your questions,
How would this work if the control is docked to 'fill' and the height of the control is variable?
- The Scrollbars will appear when the number of nodes loaded are more than the TreeView height
Are you suggesting that I set VScroll = true after all nodes are loaded and after each node expansion?
- you need to set the VScroll = true after the nodes are loaded. Since the scroll cannot work on empty node collection.
Kindly let me know if you need any additional details,
Regards,
Ajish.
JC
Josh Collins
August 12, 2007 07:21 PM UTC
Setting VScroll to true after the nodes are loaded does not fix my issue. After the nodes are expanded to the point where it should scroll, the vertical scroll bar does not appear.
AJ
Ajish
Syncfusion Team
August 13, 2007 09:42 PM UTC
Hi Josh,
The Scrollbars appears only when the number of nodes loaded are more than the TreeView height. So it is necessary to set vscroll = true after each node expansion. Here is a sample for your reference,
Sample: http://websamples.syncfusion.com/samples/Tools.Windows/F67171/main.htm
Kindly take a look at the sample and let me know if this helps in resolving the issue.
Regards,
Ajish.
The Scrollbars appears only when the number of nodes loaded are more than the TreeView height. So it is necessary to set vscroll = true after each node expansion. Here is a sample for your reference,
Sample: http://websamples.syncfusion.com/samples/Tools.Windows/F67171/main.htm
Kindly take a look at the sample and let me know if this helps in resolving the issue.
Regards,
Ajish.
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
-
JC Josh Collins
- Aug 9, 2007 03:49 PM UTC
- Aug 13, 2007 09:42 PM UTC