7 Nov 2011 3:19 AM #1
conditionally hide menuarrow of a splitbutton
I would like to hide the menu arrow of a splitbutton for some users, but I can't find the property that I could use for it.
Thanks for the help.
7 Nov 2011 7:04 AM #2
If you hide the arrow, doesn't it just become a regular button?
7 Nov 2011 7:14 AM #3
It does, but I thought that conditionally hiding/unhiding the arrow was easier than changing the type.
7 Nov 2011 8:07 AM #4
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Change the CSS to hide itMitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
7 Nov 2011 9:13 AM #5
In similar situations I have switched between a normal button and a split button. Using Ext.Action makes it easy.