bbm Posted April 7, 2018 Share Posted April 7, 2018 Hi, I need help to bring the tabs of a pagecontrol to the bottom. I used a script for the Version 4.2, but this is not running anymore in the version 6.5.3. Also I need a solution for reordering the tabs by drag & drop. Is there anybody who has solutions for these two things? Best regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 7, 2018 Share Posted April 7, 2018 Hi, We will check Best regards, Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 7, 2018 Share Posted April 7, 2018 Hi, I need help to bring the tabs of a pagecontrol to the bottom. I used a script for the Version 4.2, but this is not running anymore in the version 6.5.3. Can you try this?: function tabPanel.beforeInit(sender, config) { sender.defaultConfig.tabPosition='bottom'; // 'top', 'bottom', 'left', 'right' } Quote Link to comment Share on other sites More sharing options...
bbm Posted April 8, 2018 Author Share Posted April 8, 2018 Hi , in principle it is working fine, but when I put a second PageControl on a TabPanel, the tabs of the second PageControl are also at bottom. Is there any way bring the tabs of the first PageControl to the bottom and the tabs of the second to the top? Best regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 8, 2018 Share Posted April 8, 2018 Hi, Can you make a simple testcase for this if possible ?! Quote Link to comment Share on other sites More sharing options...
bbm Posted April 8, 2018 Author Share Posted April 8, 2018 Hi, two pictures, Changing the position of one TabPanel brings the Position of all other TabPanels to the same position Best regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 8, 2018 Share Posted April 8, 2018 Hi, SecondPageControl: function tabPanel.beforeInit(sender, config) { sender.defaultConfig.tabPosition='top'; } Quote Link to comment Share on other sites More sharing options...
bbm Posted April 8, 2018 Author Share Posted April 8, 2018 Hi, I already understood, but why influences the tabPanel.beforeInit of the first PageControl all other PageControls and their tabs? Best regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 8, 2018 Share Posted April 8, 2018 I already understood, but why influences the tabPanel.beforeInit of the first PageControl all other PageControls and their tabs? Sorry, yes you should use this config: function tabPanel.beforeInit(sender, config) { //sender.defaultConfig.tabPosition='bottom'; config.tabPosition='bottom'; } 1 Quote Link to comment Share on other sites More sharing options...
bbm Posted April 8, 2018 Author Share Posted April 8, 2018 Hi, now it's working! Thank you very much. Do you have a solution also for my second question? I need also a solution for "TabReorder" Best regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 8, 2018 Share Posted April 8, 2018 Do you have a solution also for my second question? I need also a solution for "TabReorder" Yes, We will let you know Quote Link to comment Share on other sites More sharing options...
bbm Posted April 13, 2018 Author Share Posted April 13, 2018 Hi, do you have any solution for me? I need it for my application and I want to show the function to our customer (In ExtJS it works fine). Best regards. Quote Link to comment Share on other sites More sharing options...
bbm Posted April 27, 2018 Author Share Posted April 27, 2018 Hi together, I want to go online with my application, but I still need a solution. Is there anybody who have an idea or can help me? Best regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 27, 2018 Share Posted April 27, 2018 Hi, Sorry for delay, I will try to give you a solution a bit later Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 27, 2018 Share Posted April 27, 2018 Files for ExtJS 6.5: ReordererFiles.rar Next, follow the instructions as before: http://forums.unigui.com/index.php?/topic/4413-draggable-tabs/&do=findComment&comment=21792 Quote Link to comment Share on other sites More sharing options...
bbm Posted April 27, 2018 Author Share Posted April 27, 2018 Hi, no problem, now it works like it should! Many thanks for your support Best regards 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 27, 2018 Share Posted April 27, 2018 You are welcome! Best regards, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.