jQWidgets Forums

jQuery UI Widgets Forums React how to deploy auto scrollbars in trees

This topic contains 2 replies, has 2 voices, and was last updated by  assembler 7 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • how to deploy auto scrollbars in trees #96799

    assembler
    Participant

    Hello everybody!

    I’m testing this component library, trees in special. I have the following code:

    <JqxTree ref={this.treeRefBuilder} width={200} height={350} source={contents}/>

    in my render method. My tree has almost 100 items, so, it should show me some scrollbar (right?), but it doesn’t. If I navigate the tree items by keyboard it scrolls up and down, but still doesn’t shows the scroll bars. So how can I tell the component to show the scrollbars when needed, or at least how to put scrollbars in the tree? Should I wrap the tree within another kind of container?

    Thanks in advance…

    how to deploy auto scrollbars in trees #96840

    Hristo
    Participant

    Hello assembler,

    Thank you for the feedback, it is a known issue.
    You could try to change the height of the Tree depending on is it expanded or collapsed that item.
    Also, you could set the initial height referred to numbers of items there.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    how to deploy auto scrollbars in trees #96846

    assembler
    Participant

    Mr. Hristo, Thanks for your response. I’m building the three on demand, so I can’t tell how big will be the three.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.