Results 1 to 10 of 73

Thread: Ext.ux.panel.DDTabPanel

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ext User Matti's Avatar
    Join Date
    Jul 2008
    Vote Rating

    Default Ext.ux.panel.DDTabPanel

    Ext.ux.panel.DDTabPanel extends Ext.TabPanel to support drag and drop operations to re-order the tabs.

    This extension is the result of the work done in the topic "Draggable Panel in a TabPanel". When I started using the code in that thread, I found that clicking a tab to activate it didn't work any longer, you had to start dragging for it to activate. After some investigation, this was fixed by adding an onMouseDown event to activate the tab. As suggested by mabello, I decided to publish this great piece of work by giving it its own topic and by publishing it on the UX Repository.

    This extension is based on the code of thommy and rizjoj and was then fixed, polished and published by myself.

    JS File:
    UX Repository:

    Okay, it's in the repository now. Some small adjustments to the documentation have been done which will be reflected in the repository in approximately an hour (the interval between two repository updates).

    This thread is open for suggestions, questions, bug reports and appreciations!

    Known bugs:
    • None, yay!
    • The tab panel can't be made stateful.
      It'd be very hard to do this as the default tab panel itself doesn't seem to support this either. Seen from a developer's point, it would be very hard too as some tabs are loaded dynamically through AJAX requests and such, how would one save those in a cookie?
    • Allow tabs to be dropped on another tab panel by joining the drag and drop sources and targets.
    • 1.0.7 (Jan 16, 2009)
      • Implemented some more code optimizations from mystix.
    • 1.0.6 (Jan 10, 2009)
    • 1.0.5 (Dec 31, 2008)
      • Tabs with an iconCls now have a left padding on the ghost text.
    • 1.0.4 (Dec 19, 2008)
      • Fixed bug with west region and code is much cleaner now.
    • 1.0.3 (Dec 19, 2008)
      • Fixed activeTab configuration not working.
      • Added configuration option and method for tabs to enable/disable drag and drop on a per-tab basis.
    • 1.0.2 (Dec 18, 2008)
      • Fixed conflict between multiple DDTabPanels.
    • 1.0.1 (Dec 18, 2008)
      • Initial release.
    Last edited by Matti; 16 Jan 2009 at 9:43 AM. Reason: Updated to version 1.0.7

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts