PDA

View Full Version : Tab Grouping



dawesi
29 Mar 2009, 4:44 PM
Anyone done any work on tab grouping? I've searched and searched and remember seeing something a while ago but can't find it...

Tab Grouping:
Where tabs are grouped and positioned based on group based on one of two concepts:

1) with a css spacer between items based on the group definition

or

2) positioned left, center, right based on the group container

I'm preferably looking for the latter.

Also will the tab dimension calculation code be fixed in 3.0?

With 2.x it based it's calculations (see advanced tab scolling code) on the external container, rather than the internal one which made manipulation of tabs rather hard (ie you had to replace the code to do anything). If you could base the scolling tab code based on the inner container then it wouldn't matter what you did between the outer and inner containers to get the ui you want.

TommyMaintz
29 Mar 2009, 6:04 PM
You might want to check out the new GroupTabs examples i created which is available in the SVN. Its probably not as good yet as it can be, but its a start.

jay@moduscreate.com
29 Mar 2009, 7:04 PM
Tommy, for core?

TommyMaintz
29 Mar 2009, 8:45 PM
There are both versions for core and for Ext 3.0.
The core one will be released as soon as we release ext core, as the core manual will be using it. The 3.0 one is already available in the trunk.

dawesi
12 Apr 2009, 1:49 AM
awesome thanks Tommy... need to move my app to 3.0... cool implementation for left tab grouping.

dawesi
12 Apr 2009, 6:30 AM
is there any examples of tab grouping using standard tabs?

ie put three tabs on the left, two on the right within the same tabpanel?

I guess I could use my inlinetoolbartabpanel to add fake tabs and just hide the tab title for the real tabs...

dawesi
12 Apr 2009, 3:38 PM
I've set off on a mission to create tab grouping for top and bottom tabs.

I'm also going to be making my inlinetoolbartabpanel a plugin so that it can be used for a normal tabpanel and this tabgrouppanel. All will be ExtJS 3.0 as the tabpanel has changed quite a bit since v2. I'll see if I can do it for ext.core also.

also wondering if the tabgrouppanel would be better as a plugin or extension... thoughts?

dawesi
12 Apr 2009, 3:56 PM
moved discussion to here: http://extjs.com/forum/showthread.php?t=65355