Results 1 to 6 of 6

Thread: [2.2] disabled in accordion does not work

  1. #1
    Sencha User
    Join Date
    May 2007
    Posts
    113
    Vote Rating
    1
      0  

    Default [2.2] disabled in accordion does not work

    Examples:

    does not work:


    Code:
                    {                    
                        iconCls:'pasta',    
                        collapsed:true,
                        disabled: true,                  
                        title:'PCP',                                        
                        xtype:'treepanel',
                        loader: new Ext.tree.TreeLoader({
                            dataUrl:'admin.json'
                        }),                                
                        rootVisible:false,                                                   
                        root: new Ext.tree.AsyncTreeNode()                    
                    }
    works perfect:

    {
    iconCls:'pasta',
    collapsed:true,
    disabled: true,
    style: 'opacity: 1;',
    title:'PCP',
    xtype:'treepanel',
    loader: new Ext.tree.TreeLoader({
    dataUrl:'admin.json'
    }),
    rootVisible:false,
    root: new Ext.tree.AsyncTreeNode()
    }
    only works if put style

    style: 'opacity: 1;',

    collapsible:false also does not work

  2. #2
    Ext User Perfect Lion's Avatar
    Join Date
    Aug 2007
    Location
    Brazil
    Posts
    79
    Vote Rating
    0
      0  

    Default

    I have the same problem..
    This is a bug?
    My version is v2.2

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,379
    Vote Rating
    858
      0  

    Default

    Can you explain a bit more what the issue is? A drop in test case would be great.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  4. #4
    Ext User Perfect Lion's Avatar
    Join Date
    Aug 2007
    Location
    Brazil
    Posts
    79
    Vote Rating
    0
      0  

    Default

    I resolved this problem, was that some files were with my problem
    Thank

  5. #5
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,379
    Vote Rating
    858
      0  

    Default

    So, this isn't a bug? Can we close this off?
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  6. #6
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    118
      0  

    Default

    Well, there is indeed something wrong with disabled accordion panels.

    Expand Item 2 in the following example:
    Code:
    new Ext.Viewport({
    	layout: 'accordion',
    	items: [{
    		title: 'Item 1',
    		disabled: true,
    		html: Ext.example.bogusMarkup
    	},{
    		title: 'Item 2',
    		html: Ext.example.bogusMarkup
    	}]
    });
    The mask doesn't get resized when the panel bwrap is hidden.

    (in IE6 and IE7 quirks mode you need to patch this bug first before you even see the mask)

Posting Permissions

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