Results 1 to 2 of 2

Thread: treestore for picker in selectfield

  1. #1
    Sencha Premium Member
    Join Date
    Oct 2011
    Posts
    64
    Answers
    3
    Vote Rating
    0
      0  

    Default Answered: treestore for picker in selectfield

    Is there any chance to define a treestore in in the picker store config (http://docs.sencha.com/touch/2-1/#!/....picker.Picker)

    or what would be a good way to handle such a requirement?

    the goal is to provide a nestedlist/ treestore as a selection for a form selectfield.
    should the nestedlist be pre-created in an overlay and simply be shown when the given selectfield is focused?

    thanks for any feedback...

  2. ok, as a workaround i did something like that which does the job just fine:

    set up a card layout which contains the form and a nestedlist.
    the nestedlist contains the data for the selectfield.

    the selectfield event handler 'focus' simply switches the active card to the nestedlist.
    all there is todo is to now is to add a custom back button on the nestedlist root level

    please let me know if somebody has a nicer, more performant way to handle this.
    cheers..

  3. #2
    Sencha Premium Member
    Join Date
    Oct 2011
    Posts
    64
    Answers
    3
    Vote Rating
    0
      0  

    Default

    ok, as a workaround i did something like that which does the job just fine:

    set up a card layout which contains the form and a nestedlist.
    the nestedlist contains the data for the selectfield.

    the selectfield event handler 'focus' simply switches the active card to the nestedlist.
    all there is todo is to now is to add a custom back button on the nestedlist root level

    please let me know if somebody has a nicer, more performant way to handle this.
    cheers..

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
  •