jQuery UI Widgets Forums Layouts Docking Rearraging the windows

This topic contains 2 replies, has 2 voices, and was last updated by  amit.padman 2 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Rearraging the windows #93003

    amit.padman
    Participant

    Hi,

    When I have to rearrange the windows Horizontally, the windows are pushed down. But rearranging vertically will interchange the position of top and bottom windows. Can the same functionality be implemented for Horizontal rearrangement?

    Header1 Header2
    Header3 Header4

    When I drag Header1 to right, the positions change to:

    Header3 Header1
    Header2
    Header4

    Instead it has to be like:

    Header2 Header1
    Header3 Header4

    While vertical rearrangement will interchange the positions.

    Thanks,
    Amit

    Rearraging the windows #93022

    Hristo
    Participant

    Hello Amit,

    Unfortunately, we do not have such demo.
    You could try to create a workaround – by using dragStart and dragEnd events could check the position.
    After this rearrange them with move method of the jqxDocking.
    To get how much children has the ‘left’ and ‘right’ panel you could use simple jQuery $(selectors).children(); and move last one of those that are more to another panel.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Rearraging the windows #93142

    amit.padman
    Participant

    That worked!

    Many thanks Hristo.

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

You must be logged in to reply to this topic.