-
19 Mar 2012 6:57 AM #1
Unanswered: Panel's content missing after add scroll:'vertical'
Unanswered: Panel's content missing after add scroll:'vertical'
I am using Carousel and containing panel. Panel's content missing after add scroll:'vertical' to panel. How to solve that?
Code:xtype: 'carousel', title: 'test', scrollable: { direction: 'horizontal' },.... xtype:'panel', scrollable: { direction: 'vertical' },
-
19 Mar 2012 10:23 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,656
- Vote Rating
- 435
- Answers
- 3108
I'm seeing my HTML with scrollable set:
Code:new Ext.carousel.Carousel({ fullscreen : true, items : [ { xtype : 'panel', html : 'Hello', scrollable : { direction : 'vertical' } }, { xtype : 'panel', html : 'Hi', scrollable : { direction : 'vertical' } } ] });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.
-
20 Mar 2012 1:03 AM #3
I think it is a bug. Same problem with you code as well. Can you send me your sencha-touch-all.js. I did try other version of js. It work with your sample but cause my other datastore not working.
}Code:Ext.application({ name: 'testing', launch: function() { new Ext.carousel.Carousel({ fullscreen : true, items : [ { xtype : 'panel', html : 'Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>Hello<br/>123', scrollable : { direction : 'vertical' } }, { xtype : 'panel', html : 'Hi', scrollable : { direction : 'vertical' } } ] });
});
-
20 Mar 2012 4:08 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,656
- Vote Rating
- 435
- Answers
- 3108
Used 2.0.0-gpl
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.
-
20 Mar 2012 4:30 AM #5
Yes 2.0 able to work for your sample but cause me error. Wondering how to loop the data out properly?
Uncaught TypeError: Cannot read property 'length' of undefined
Code:newsStore.load({ callback: function(records, operation, success) { for(i = 0;i< newsStore.data.all.length; i++){
-
20 Mar 2012 4:53 AM #6Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,656
- Vote Rating
- 435
- Answers
- 3108
Code:newsStore.getData().items.length
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.
-
20 Mar 2012 6:06 AM #7
.getData error. no such method.
The show listener does not work anymore.
xtype: 'tabpanel',
listeners: {
show: function( t, eOpts ){
-
21 Mar 2012 5:05 AM #8
Where is my Helper???
The getData method really does not exist.
-
21 Mar 2012 5:10 AM #9Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,656
- Vote Rating
- 435
- Answers
- 3108
are you sure that is your store?
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.


Reply With Quote