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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Answers
    3976
    Vote Rating
    1391
      0  

    Default

    I'm not sure what you are wanting. Are you wanting to create a dataview?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Answers
    3976
    Vote Rating
    1391
      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
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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
  •