jQuery UI Widgets Forums Navigation Tabs Drag tab to window?

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Drag tab to window? #66951

    jbrahy
    Participant

    Is there a way to drag a tab off of the jqxTabs widget and convert it into a jqxWindow?

    Drag tab to window? #66993

    Nadezhda
    Participant

    Hello jbrahy,

    If you want to take out tabs from jqxTabs you can use some of removeAt/removeFirst/removeLast methods or close buttons when you set ‘showCloseButtons’ property to true. After that you can try to increase height value with css. I hope this suggestion is helpful to you.

    Best Regards,
    Nadezhda

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

    Drag tab to window? #67536

    jbrahy
    Participant

    Hi Nadezhda,

    Thanks for the reply. I don’t see a way to detect if a drag is off the tab. I only see these two events. Is there anyway to detect if a user is trying to drag a tab off?

      
                //DragStart event
                $('#jqxTabs').on('dragStart', function (event) {
                    displayEvent(event);
                });
                //DragEnd event
                $('#jqxTabs').on('dragEnd', function (event) {
                    displayEvent(event);
                });
    

    Thanks,

    JB

    Drag tab to window? #67551

    Nadezhda
    Participant

    Hi JB,

    Unfortunately, such event as drag a tab off is not available in jqxTabs. If you want you can use the above suggestion with remove method or with close button.

    Best Regards,
    Nadezhda

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

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

You must be logged in to reply to this topic.