-
26 Jun 2012 2:59 AM #1
Bug with activeGroup config option on GroupTabPanel
Bug with activeGroup config option on GroupTabPanel
REQUIRED INFORMATION Ext version tested:
- Ext 4.1 rev 0
- IE9.0.7
- FF13.0.1 (firebug 1.9.2 installed)
- activeGroup config option doesn't set the active group correctly. Changing the grouptabs example grouptabs.js to set activeGroup to 1 (i.e. the second group of tabs) and reload, the active group is correctly set in the left hand side, however the active tab is now the 2nd tab of the first group (the 'Tickets' tab) - which doesn't make any sense. The white highlighted tab group is correct but the tab is from the first group.
- Change line 21 of the ext 4.1 examples/grouptabs/grouptabs.js file to read activeGroup: 1 instead of 0
- Run examples/grouptabs/grouptabs.html in the browser
- The 2nd group (group 1) is highlighted in white as the active group and the first tab of that group is displayed in the main (rhs) window - i.e the 'Configuration' tab with the lorem ipsum text.
- The 2nd group (group 1) is highlighted in white as the active group. The second tab of the first group ('Tickets') is displayed in the main (rhs) window.
HELPFUL INFORMATIONCode:grouptabs.js ... Ext.create('Ext.Viewport', { layout: 'fit', items: [{ xtype: 'grouptabpanel', activeGroup: 1, items: [{ mainItem: 1, items: [{ title: 'Tickets', iconCls: 'x-icon-tickets', tabTip: 'Tickets tabtip', //border: false, xtype: 'gridportlet', margin: '10', height: null }, { ...
Debugging already done:- none
- not provided
- only default ext-all.css
- Win7
-
27 Jun 2012 7:12 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,684
- Vote Rating
- 435
Thanks for the report.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
You found a bug! We've classified it as
EXTJSIV-6654
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote