-
2 Oct 2011 5:00 PM #1
Unanswered: GridPanel's 'collapsible' does NOT work
Unanswered: 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 Oct 2011 9:33 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,582
- Vote Rating
- 433
- Answers
- 3101
Probably not the answer you want but this is working in 4.0.6.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
3 Oct 2011 12:32 AM #3
-
3 Oct 2011 4:59 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,582
- Vote Rating
- 433
- Answers
- 3101
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
3 Oct 2011 11:37 AM #5
@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?
-
3 Oct 2011 11:38 AM #6Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,582
- Vote Rating
- 433
- Answers
- 3101
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.


Reply With Quote