Results 1 to 7 of 7

Thread: ItemSelector rendering problem in 4.1 Beta

  1. #1
    Ext JS Premium Member
    Join Date
    Jun 2011
    Posts
    18
    Vote Rating
    1
      0  

    Default ItemSelector rendering problem in 4.1 Beta

    The ItemSelector example that came with the 4.1 Beta downlowd shows a blank widget when I deployed. Code is in /examples/multiselect/multiselect-demo.html, multiselect-demo.js. I see a blank panel for the ItemSelector. Can someone confirm if this is indeed a problem?
    Code:
        /*
         * Ext.ux.form.ItemSelector Example Code
         */
        var isForm = Ext.widget('form', {
            title: 'ItemSelector Test',
            width: 700,
            bodyPadding: 10,
            height: 300,
            renderTo: 'itemselector',
            layout: 'fit',
            items:[{
                xtype: 'itemselector',
                name: 'itemselector',
                id: 'itemselector-field',
                anchor: '100%',
                fieldLabel: 'ItemSelector',
                imagePath: '../ux/images/',
                store: ds,
                displayField: 'text',
                valueField: 'value',
                value: ['3', '4', '6'],
                allowBlank: false,
                msgTarget: 'side'
            }],
            dockedItems: createDockedItems('itemselector-field')
        });

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

    Default

    If you run it off of the file system then yes it won't work but running it off of a web server works just fine.
    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
    Ext JS Premium Member
    Join Date
    Jun 2011
    Posts
    18
    Vote Rating
    1
      0  

    Default

    I ran it from a web server and it is still blank.

  4. #4
    Ext JS Premium Member
    Join Date
    Jun 2011
    Posts
    18
    Vote Rating
    1
      0  

    Default

    I just downloaded 4.1 Beta2, it shows up now.

  5. #5
    Sencha Premium User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Goinia - GO, Brazil
    Posts
    645
    Vote Rating
    50
      0  

    Default

    can not run it inside Ext.window.Window().
    Wemerson Januario
    Site/Blog: http://wemersonjanuario.com.brFrom: Goinia, GO, Brazil
    Consulting Training and Web Development

  6. #6
    Sencha Premium Member
    Join Date
    Sep 2011
    Posts
    26
    Vote Rating
    0
      0  

    Default

    I have the same issue, just a blank area.

    I had a similar problem in 4.0.7 but i was able to get around it by creating the widget during the load event of the store.

  7. #7
    Sencha User iomanip's Avatar
    Join Date
    Jul 2008
    Location
    El Salvador
    Posts
    32
    Vote Rating
    0
      0  

    Default

    Make sure the Itemselector Element hast it's own height and width property. That should do it for the beta.

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
  •