jQuery UI Widgets Forums Navigation Tree ensureVisible

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 7 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • ensureVisible #94234

    Manowar
    Participant
                        $("#recipeTree").jqxTree('expandItem', $("#recipeTree").find('li#' + mainGridRecipeID)[0]);
                        $("#recipeTree").jqxTree('ensureVisible', $("#recipeTree").find('li#' + mainGridRecipeID)[0]);
                        $("#recipeTree").jqxTree('selectItem', $("#recipeTree").find('li#' + mainGridRecipeID)[0]);

    Hello
    This is a part of my code in “window”, so the jqxTree must show item with current id in Tree – it expands the Tree, selects item, but it doesn’t make it visible, so I have to scroll, what can I do?

    ensureVisible #94261

    Hristo
    Participant

    Hello Manowar,

    Thank you for this feedback.
    I just want to mention that it is important to initContent callback function of the jqxWindow when initializing another widget into it.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.