Hybrid View
-
24 Nov 2012 5:31 PM #1
Panel list missing Ext.mixin.Selectable on occasion
Panel list missing Ext.mixin.Selectable on occasion
There seems to be a problem with lists on panels.
I'd create two panels, each with one of the panel items being a list (xtype: 'list'). These panels and lists are identical in every way but name (and, of course, the lists themselves have different itemId strings).
However, in debugging and in practice, the lists differ fundamentally. The first list has a _baseCls of 'x-list', the other has no _baseCls defined. The first has all the Ext.mixin.Selectable functions accessible, the other does not (they are undefined and I therefore cannot control list selection, for example).
There doesn't seem to be any rhyme nor reason for this. They are defined in the same view subdirectory, and their controllers are defined in the same subdirectories. Everything is basically the same, but the lists behave differently and are defined differently.
The only thing that might differ is that the first list activates the second list when a list item is tapped (disclosed), through an animateActiveItem() call. I'm not sure if this affects things.
Not sure how you would go about fixing this, but perhaps be aware of it in your debugging travels. And if anyone has some guidance, I would appreciate it. Thanks.
-
26 Nov 2012 6:24 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
What ST 2.x.x version are you using and have you tried on the latest release (2.1.0)?
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.
-
26 Nov 2012 7:02 AM #3
-
26 Nov 2012 7:06 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
Have you tried with the latest public release? 2.1.0?
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.
-
26 Nov 2012 9:26 AM #5
-
28 Nov 2012 1:55 PM #6
All manner of problems with the 2.1 release.
sdk is out of whack... Files not included or not found (e.g. any Chart-related source); Sencha command doesn't seem to play nice with it (e.g. can't seem to generate/create a new project because files or whole directories missing); etc. etc.
I'll stick with 2.0.1.1 for now.
Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.


Reply With Quote