This is a migrated thread and some comments may be shown as answers.

Unable to get Horizontal scrollbar when Tree View content exceeds

1 Answer 710 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Navin
Top achievements
Rank 1
Navin asked on 14 Jun 2019, 06:15 PM
I had integrated tree view inside a div with fixed height, width and  scroll enabled. When the tree content exceeds the div space vertical scroll get enabled but horizontal scroll is disabled by default.

 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 17 Jun 2019, 06:21 AM
Hello, Navin.

Thank you for the details.

This will require changing the TreeView display style to 'inline-block' in order to have a scrollbar.

The container should also have the overflow styles set to 'auto':

https://stackblitz.com/edit/react-p3uc7i?file=app/main.jsx

I hope this is helpful.

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Navin
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or