Results 1 to 6 of 6

Thread: GridPanel's 'collapsible' does NOT work

  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    3
    Vote Rating
    0
      0  

    Default GridPanel's 'collapsible' does NOT work

    i can't expand my gridpanel which has been collapsed.

    when i clicked the collapse toggle Tool, my gridpanel collapsed, howerver, when i clicked it again, it does not work as my expectation. it only remains the line of title.

    before
    Screenshot-1.jpg
    after
    Screenshot.jpg

    code from document:
    Code:
    Ext.define('AM.view.user.List', {
        extend:'Ext.grid.Panel', 
    
    
        alias:'widget.userlist', 
    
    
        title:'All Users', 
    
    
        collapsible:true, 
        store:'Users', 
    
    
        initComponent: function(){
    
    
             this.columns = [
                    {header:'name', dataIndex:'name', flex:1}, 
                    {header:'Email', dataIndex:'email', flex:1}
                    ];
    
    
             this.callParent(arguments);
    
    
         }
     });

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

    Default

    Probably not the answer you want but this is working in 4.0.6.
    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
    Sencha User
    Join Date
    Sep 2011
    Posts
    3
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by mitchellsimoens View Post
    Probably not the answer you want but this is working in 4.0.6.
    Did you mean i can't solve this problem in 4.0.2a?

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

    Default

    Quote Originally Posted by hanliang1990 View Post
    Did you mean i can't solve this problem in 4.0.2a?
    I'm not sure what went into fixing it
    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

  5. #5
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,790
    Answers
    583
    Vote Rating
    391
      0  

    Default

    @hanliang1990. Your code works for me using 4.0.2.

    Which browsers have you tried? Do you get any errors in the console?

    Could you provide a complete test case that exhibits the problem?

    @mitchellsimoens. When you said it works in 4.0.6 were you implying that it doesn't work in 4.0.2?

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

    Default

    Quote Originally Posted by skirtle View Post
    @mitchellsimoens. When you said it works in 4.0.6 were you implying that it doesn't work in 4.0.2?
    Nope... just saying I tried to reproduce on 4.0.6 (knowing that there have been lots of bug fixes in 4.0.4, 4.0.5, and 4.0.6) and couldn't.
    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

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
  •