-
6 Nov 2012 9:27 AM #1
Unanswered: Cycled pickerslot
Unanswered: Cycled pickerslot
Hello guys,
I've got a pickerslot, binded on a store.
I know to display data on my pickerslot then now, I would like to repeat these data in my dataview like iPhone datePicker.
For example :
data = [ { text: "test1", value: 0 }, { text: "test2", value: 1 } ]
Display:
test1
test2
test1
test2
etc...
Thanks for advices....
-
8 Nov 2012 6:14 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,118
- Vote Rating
- 453
- Answers
- 3160
I'm not sure what you are wanting. Are you wanting to create a dataview?
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.
-
8 Nov 2012 6:24 AM #3
Yes I want to create a pickerslot with some data. I want to display them in cycle.
Take the iPhone date pickerslot for example, it displays months in cycle.
January
February
...
December
January
February
....
-
8 Nov 2012 6:44 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,118
- Vote Rating
- 453
- Answers
- 3160
That's not supported out of the box, the slot will display whatever is in it's store so you would have to change the index of the records in the store on the fly.
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