We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

MulticolumnTreeView scroll to bottom

Thread ID:





131838 Jul 30,2017 07:10 AM Oct 24,2017 09:14 AM Windows Forms 3
Tags: MultiColumnTreeView
Asked On July 30, 2017 07:10 AM

Hi, how can I scroll to bottom (last node) in a MulticolumnTreeView?

Kannan R [Syncfusion]
Replied On July 31, 2017 12:48 AM

Hi Mate 
Thank you for contacting Syncfusion support.  
Yes, this reported requirement can be achieved by using EnsureVisible function in MultiColumnTreeView. Please make use of below code snippet for your reference. 
Code Snippet: [C#] 
        /// <summary> 
        /// To Scroll to bottom 
        /// </summary> 
        private void buttonAdv1_Click(object sender, EventArgs e) 
            this.multiColumnTreeView1.EnsureVisible(this.multiColumnTreeView1.Nodes[this.multiColumnTreeView1.Nodes.Count - 1]); 
        /// <summary> 
        /// To Scroll to Up 
        /// </summary> 
        private void buttonAdv2_Click(object sender, EventArgs e) 
We have also prepared sample for your reference and it can be downloaded from below location.  
Kindly check with above solution and let us know if it helps. 

Replied On October 24, 2017 08:18 AM

Hi, how can I scroll to particular node in a TreeviewAdv?

Kannan R [Syncfusion]
Replied On October 24, 2017 09:14 AM

Hi Abhilash 
Thank you for your update.   
Please refer to the below code snippet to achieve this requirement.  
            this.treeViewAdv1.SelectedNode = this.treeViewAdv1.Nodes[0]; 
            //To show the particular node 
            this.treeViewAdv1.SelectedNode = this.treeViewAdv1.Nodes[this.treeViewAdv1.Nodes.Count - 1]; 
            //To show the particular node 
            this.treeViewAdv1.Nodes[this.treeViewAdv1.Nodes.Count - 1].BringIntoView(); 
Kindly check with the above solution and let us know if it helps. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.