-
21 Nov 2011 5:55 AM #1
field.Select only displays a max of 4 items?
field.Select only displays a max of 4 items?
Hi guys
Is there any reason why this code would only display the first 4 items in the select list?
Code:var bundle_ddn = new Ext.field.Select({ name: 'bundle_ddn', label: 'Bouquet:', options:[ { text:'DStv Compact', value: '3' }, { text:'DStv EasyView', value: '7' }, { text:'DStv Lite', value: '6' }, { text:'DStv Premium', value: '1' }, { text:'DStv Select 1', value: '4' }, { text:'DStv Select 2', value: '5' }, { text:'DStv Select 2', value: '5' }, { text:'TopTV Ultimate Movies', value: '14' }, { text:'TopTV Variety', value: '11' } ] });
-
21 Nov 2011 11:17 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
You mean the height of the list once click on the field?
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.
-
22 Nov 2011 12:03 AM #3
Hi Mitchell Simoens
Thank you for response, I was referring to the elements in the actual list. The problem is that if you have more the say 4 in the selectfield list, you'd need to drag'n hold to scroll down (assuming you know there's more in the dropdown). The rest (should you not know is there) would remain "hidden" to the user. Is there a way that one could make the dropdown (selectfield) list scrollable?
Regards
Riyaad
-
22 Nov 2011 7:02 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
I see what you mean... I don't think there is bounds checking currently but a UI like that will get worked on.
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.
-
22 Nov 2011 10:29 AM #5
The popup list for a SelectField is already scrollable. Do you mean make the list a little smaller/larger so the users knows there is more to scroll?
Sencha Inc.
Robert Dougan - @rdougan
Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.
-
22 Nov 2011 7:11 PM #6Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
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.
-
22 Nov 2011 10:53 PM #7
Ah, I understand now. I shall add a ticket, makes sense.
Sencha Inc.
Robert Dougan - @rdougan
Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.
-
22 Nov 2011 11:29 PM #8
Hi Mitchell Simoens, RDougan
This would be great - thank you both.
Regards,
Riyaad


Reply With Quote