Results 1 to 3 of 3

Thread: Adding an array to config section of a controller

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    Renfrew
    Posts
    74
    Vote Rating
    2
      0  

    Default Adding an array to config section of a controller

    How would I add an array to the config section of a controller within Sencha Architect (Sencha Touch)? I see that I can add a string and initialize it by adding a custom property, but I can't do the same with an array - defaults always to text.

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,488
    Vote Rating
    147
      0  

    Default

    Type in "myArray: []" in the filter box and click Add.
    Aaron Conran
    @aconran

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Location
    Renfrew
    Posts
    74
    Vote Rating
    2
      0  

    Default

    Ah, ok.... I tried using the filter, but did not with the colon - so it was defaulting to string. Thank you.

Posting Permissions

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