Results 1 to 4 of 4

Thread: Cycled pickerslot

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default 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....

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    I'm not sure what you are wanting. Are you wanting to create a dataview?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default

    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
    ....

  4. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •