-
conditionally hide menuarrow of a splitbutton
conditionally hide menuarrow of a splitbutton
Hi,
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.
something like
,menuArrow: userIsAdmin
Thanks for the help.
SWK
-
If you hide the arrow, doesn't it just become a regular button?
-
It does, but I thought that conditionally hiding/unhiding the arrow was easier than changing the type.
-
Sencha - Senior Forum Manager
Change the CSS to hide it
-
In similar situations I have switched between a normal button and a split button. Using Ext.Action makes it easy.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us