Jump to content

Tabs at bottom and reordering the tabs


bbm

Recommended Posts

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

Link to comment
Share on other sites

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'
}
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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';
}
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...