Set horizontal scroll position left most in RadTreeView

1 Answer 13 Views
Treeview
Raj
Top achievements
Rank 1
Iron
Iron
Raj asked on 07 Jun 2024, 11:11 AM | edited on 07 Jun 2024, 11:42 AM

Hello Team

How to set horizontal scroll position left most in the RadTreeView ?

Note: telerik version 2024.1.312.48

Attached screenshot for reference:

Thanks

Rajkannan

1 Answer, 1 is accepted

Sort by
1
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 10 Jun 2024, 01:04 PM

Hello Raj,

If I have correctly understood your scenario, you want to move the horizontal scroll thumb to the left side (beginning). In that case, you can access the horizontal scrollbar and set its value to 0.

this.radTreeView1.TreeViewElement.HScrollBar.Value = 0;

Keep in mind that the Value property of the scroll bar needs to be between its Minimum and Maximum property.

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Raj
Top achievements
Rank 1
Iron
Iron
commented on 11 Jun 2024, 03:10 AM

Hello Dinko,

 

Thanks for your reply.

I have tested and its working fine now.

Thanks

Rajkannan

Tags
Treeview
Asked by
Raj
Top achievements
Rank 1
Iron
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or