ribbon, dropDown, getSelectedItemIndex - how do I say none are selected?


Ad

Advertisements

C

Colbert Zhou [MSFT]

Hello Dave,

There is no way to make dropDown select none. My suggestions is adding a
blank item at the first index. Then we can return 0 in the
GetSelectedItemIndex function to make the first blank item to be selected.


Best regards,
Ji Zhou
Microsoft Online Community Support
 
Ad

Advertisements

Joined
Nov 19, 2015
Messages
1
Reaction score
0
I know this is a very old post but I just had the same need and found that removing the callback from the XML makes the default selected item - nothing. It may not be a convenient solution if you do need to use the callback.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top