jQWidgets Forums

jQuery UI Widgets Forums Dialogs and Notifications Window window with scrolling

This topic contains 6 replies, has 2 voices, and was last updated by  mallepaddi 11 years, 3 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • window with scrolling #49974

    mallepaddi
    Participant

    Hi

    I am using “window” for showing dynamic contact as a overlay, if the content is too big then scroll bars not appearing in window ?

    Any help ?

    Thanks

    window with scrolling #49978

    Peter Stoev
    Keymaster

    Hi mallepaddi,

    Is your new content in a DIV tag with Fixed Height? Otherwise, the widget’s height would be changed automatically instead of displaying scrollbars. If you put your content in a DIV tag with fixed height, a scrollbar would be displayed. Example: http://jsfiddle.net/jqwidgets/edj9u/

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    window with scrolling #49987

    mallepaddi
    Participant

    That works, thanks

    but having a issue with scrolling, let’s say scroll bar appears, i scrolled down and expand an item, then the position goes to top, not at current position. So user have to scroll all the way down to look at expand item.

    it’s “json” binding.

    Any thought ?

    Thanks

    window with scrolling #49995

    Peter Stoev
    Keymaster

    Hi mallepaddi,

    What kind of items do you mean? I am asking because jqxWindow does not have items.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    window with scrolling #49997

    mallepaddi
    Participant

    Hi

    I am displaying tree in window and when i expand tree, cursor always goes to top node of tree rather than at opened node.let’s say when i scroll all the way down to the tree and then expand takes me to higher position.

    Thanks

    window with scrolling #50101

    mallepaddi
    Participant

    Hi

    here is code ..

    $(‘#jqxWidgetTree’).on(‘select’, function (event) {
    var args = event.args;
    var e = event.args.element;

    var item = $(‘#jqxWidgetTree’).jqxTree(‘getItem’, args.element);
    $(‘#jqxWidgetTree’).jqxTree(‘selectItem’, e);

    if(item.level == 2) {
    alert(item.id + ” ; ” + item.parentid + “;” + item.value + “;” + item.label);
    }
    });

    every time when i expand node, cursor position to top of tree, but i would like to stay at same place where node opened.

    I am displaying tree in a window as modal.

    Thanks

    window with scrolling #50147

    mallepaddi
    Participant

    HI

    Any help ?

    Thanks

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

You must be logged in to reply to this topic.