Jump to content

Draggable tabs


Mediv07

Recommended Posts

Hi Mediv07.

Yes it is possible, there is a special plugin "TabReorderer", located in the directory:

"C:\Program Files\FMSoft\Framework\uniGUI\ext-4.2.1.883\examples\ux"

 

How to use?

Try...

 

1. You must include two files in your project BoxReorderer.js and TabReorderer.js: (in such sequence!)

Both files are located in the directory "C:\Program Files\FMSoft\Framework\uniGUI\ext-4.2.1.883\examples\ux".

Copy these files to the directory "../files" and include in your project:

files/BoxReorderer.js
files/TabReorderer.js

2. Further it is necessary to include this plugin:

function tabPanel.beforeInit(sender)
{
  sender.plugins = [Ext.create('Ext.ux.TabReorderer')];
}

post-906-0-26105100-1407822863_thumb.png

 

sample: http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/tabs/reorderable-tabs.html

 

Best regards.

  • Upvote 2
Link to comment
Share on other sites

Hi Mediv07.

 

Yes it is possible, there is a special plugin "TabReorderer", located in the directory:

"C:\Program Files\FMSoft\Framework\uniGUI\ext-4.2.1.883\examples\ux"

 

How to use?

Try...

 

1. You must include two files in your project BoxReorderer.js and TabReorderer.js: (in such sequence!)

Both files are located in the directory "C:\Program Files\FMSoft\Framework\uniGUI\ext-4.2.1.883\examples\ux".

Copy these files to the directory "../files" and include in your project:

files/BoxReorderer.js
files/TabReorderer.js

2. Further it is necessary to include this plugin:

function tabPanel.beforeInit(sender)
{
  sender.plugins = [Ext.create('Ext.ux.TabReorderer')];
}

attachicon.gifTabReorderer.png

 

sample: http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/tabs/reorderable-tabs.html

 

Best regards.

 

 

Thanks works.

Link to comment
Share on other sites

  • 4 weeks later...
×
×
  • Create New...