Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Touch Premium Member
    Join Date
    Dec 2007
    Posts
    109
    Vote Rating
    1
    tfrugia is on a distinguished road

      0  

    Default [FIXED127] List/NestedList disabled/setDisabled not working

    [FIXED127] List/NestedList disabled/setDisabled not working


    Setting the disabled property or using setDisabled(true) seems to have no affect on lists and nested lists.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,358
    Vote Rating
    128
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Thanks for reporting this bug. Disabling a List/NestedList will be fixed in the next build (after 0.94).
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,358
    Vote Rating
    128
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Fixed in 0.95.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Posts
    15
    Vote Rating
    0
    Old McStopher is on a distinguished road

      0  

    Default


    I still seem to be having this issue in 1.1.0. I can disable the panel that contains the list. I can also hide the list. But I cannot disable the list itself. See comments in code...

    Code:
    myApp.views.PResultsList = Ext.extend(Ext.Panel, {
    
        dockedItems: [{
            id:		'search',
            xtype:	'toolbar',
            items: {
                xtype:			'searchfield',
                placeHolder:	'Search',
                name:			'searchfield',
                listeners: {
                    focus: function() {
                    	// This works, so I know I'm getting the right component.
                        console.log(
    myApp.views.pList.getComponent('pResultsList').getComponent('resultsList'));
    
                        // This works, so I know the component is responding to available commands.
                        myApp.views.pList.getComponent('pResultsList').getComponent('resultsList').hide();
    
                        // However, this does not work...
                        // myApp.views.pList.getComponent('pResultsList').getComponent('resultsList').disable();
    
                        // Neither does this...
                        // myApp.views.pList.getComponent('pResultsList').getComponent('resultsList').setDisabled(true);
    
                    }
                }
            }
        }],
        initComponent: function() {
            coupoza.stores.products.load();
    
            this.items = [
                      id: 'resultsList',
                      xtype: 'list',
                      // .
                      // .
                      // .
            ];
            coupoza.views.ProductResultsList.superclass.initComponent.apply(this, arguments);
        }
    });
    //Needed to register this view as an xtype
    Ext.reg('pResultsList', myApp.views.PResultsList);

  5. #5
    Sencha User
    Join Date
    Feb 2011
    Posts
    35
    Vote Rating
    0
    Limbo is on a distinguished road

      0  

    Default


    I too am having this problem in 1.1.

    How can I disable the list?

    I've tried .setDisabled(true) and .disable(), but it doesn't work

  6. #6
    Ext JS Premium Member anselmtmcclain's Avatar
    Join Date
    Mar 2008
    Location
    Northern California
    Posts
    84
    Vote Rating
    3
    anselmtmcclain is on a distinguished road

      0  

    Question


    Running into the same issue here as well. Any updates would be welcome as the bug is marked as fixed.

    Thanks - ATM

  7. #7
    Sencha User
    Join Date
    May 2011
    Posts
    52
    Vote Rating
    0
    mbalsam will become famous soon enough

      0  

    Default


    I can verify that this is still an issue in 1.1.x. Anyone bother to give an update?

Similar Threads

  1. [CLOSED-199] NestedList Defaults not working
    By kevchuey in forum Sencha Touch 1.x: Bugs
    Replies: 3
    Last Post: 6 Sep 2010, 12:12 PM
  2. List design breaks inside nestedlist.
    By blessan in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 25 Aug 2010, 9:31 PM
  3. ETA on NestedList inheriting from List
    By meyerovb in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 10 Aug 2010, 3:43 PM
  4. Numberfield not working as nestedList item in v0.93
    By blessan in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 4 Aug 2010, 7:45 AM
  5. NestedList onClick than fullscreen panel instead of list item
    By Mebel in forum Sencha Touch 1.x: Discussion
    Replies: 5
    Last Post: 2 Jul 2010, 12:59 AM

Thread Participants: 5