jQWidgets Forums

jQuery UI Widgets Forums Navigation Tree Long Tree

This topic contains 4 replies, has 2 voices, and was last updated by  shimmoril 12 years, 4 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Long Tree Posts
  • Long Tree #13452

    shimmoril
    Participant

    I’ve got a tree inside a split that could contain anywhere from 0 to infinite items. The tree just keeps expanding down the page to fit the content. Ideally it would take the size of the page and just introduce a scrollbar when the content was longer than that. Is this possible?

    Some additional information – the splitter/tree is tied into a tab system, so if the tree is very long and I scroll down to find something the tab side of the splitter is all whitespace, which doesnt look good.

    Long Tree #13477

    Dimitar
    Participant

    Hello shimmoril,

    You may set the style of the div from which the splitter panel with the tree is initialized to “overflow: auto;”. Then if the content is longer, a vertical scrollbar will appear.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Long Tree #13519

    shimmoril
    Participant

    Thanks Dimitar. I was playing around with this further yesterday and noticed that while I can specify a height in px for the tree, it won’t take a percentage height for some reason. Do you know why this might be?

    (When I have it set to a percentage height none of the content is displayed)

    Long Tree #13564

    Dimitar
    Participant

    Hi shimmoril,

    Unfortunately, jqxTree does not support percentage values for width and height.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Long Tree #13581

    shimmoril
    Participant

    Thanks.

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

You must be logged in to reply to this topic.