Results 1 to 4 of 4

Thread: Problem with the ItemSelector in some(!) IE8

  1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    3

    Question Problem with the ItemSelector in some(!) IE8

    Hi!

    I've created an ExtJS Desktop Application which works well in nearly all of the tested Browsers.
    Only some IE8 seem to have a problem with an itemselector inside a window I definitely need to use. Oddly, I can't reproduce the error in any of my available IE8 browser, even if all of them have the identical version number.

    The code where the problem occurs seems to be the following:

    Code:
    var itemSelector = new Ext.ux.ItemSelector({ 
                xtype: 'itemselector', 
                name: 'investmentSelectorIEtest', 
                id:'assign-investment-itemselector-ietest', 
                fromStore: fromStore,
                toStore: toStore,
                dataFields: ["id", "name"], 
                valueField: 'id',
                displayField: 'name', 
                imagePath: '/js/thirdParty/multiselect', 
                toLegend: 'Selected Investments', 
                fromLegend: 'Available Investments',
                drawUpIcon: false, 
                drawDownIcon: false, 
                drawTopIcon: false, 
                drawBotIcon: false 
            });


    The code is already minimised and the stores are local/static to test it. Without the itemselector everything is working fine and the window opens. But with the itemselector it says: "Object expected" in the clients IE8.

    Can someone help me? Any ideas?

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    Start commenting out configs until you find which config is the offending config.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  3. #3
    Sencha User
    Join Date
    Jun 2010
    Posts
    3

    Default

    Well, that's exactly what we did. This is already the minimised code. The problem must be somewhere in this small peace of code, because when leaving it out, the window opens without any complaints.

  4. #4
    Sencha User
    Join Date
    Jun 2010
    Posts
    3

    Lightbulb

    SOLVED!

    The xtype is/was too much.
    Creating an itemselector with new Ext.ux.ItemSelector AND having an xtype crash in some!! IE8 versions!

    Silly mistake :/

Posting Permissions

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