Results 1 to 5 of 5

Thread: Container / Panel is not scrollable when dynamic select fields are created.

  1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    10
    Vote Rating
    0
      0  

    Default Container / Panel is not scrollable when dynamic select fields are created.

    Hi, I have a requirement in which i want to create multiple selectfields depends on the number returned from JSON response. Suppose returned number is 50 i want my view to create 50 select fields in initialize function of the view. This is fine am able to create selectfields but not 50 because my page would not allow me to scroll down even though if i provide scrollable true in config its not working out for me. In brief scrollable is working fine if select fields are created in the fashion like
    items: [ {
    xtype: 'selectfield',
    label: 'Field'
    },
    {
    xtype: 'selectfield',
    label: 'Field'
    },
    in config, but scrollable not working if select fields are created in initialize function. Please help !

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,088
    Vote Rating
    136
      0  

    Default

    I'm unable to reproduce this issue. Can you please post your code.

  3. #3
    Sencha User
    Join Date
    Jun 2013
    Posts
    10
    Vote Rating
    0
      0  

    Default

    Hi fmoseley, I dont know how to post the code in proper format. Please find the code which am trying, my view is called on a Buton handler.
    Attached Files Attached Files

  4. #4
    Sencha User
    Join Date
    Jun 2013
    Posts
    10
    Vote Rating
    0
      0  

    Default

    Thanks fmoseley, problem is solved. i just bring the "scrollable: true," into config. and the rest is working as expected.

  5. #5
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,088
    Vote Rating
    136
      0  

    Default

    Glad to hear you resolved this problem.

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
  •