Skip to main content
Solved

How do you turn off the search in a legend widget in WebUI?

  • November 13, 2019
  • 3 replies
  • 126 views

MathFour
AIMMS Partner
Forum|alt.badge.img

I have two legend widgets in my app. And one is showing a search bar and one is not. 

How do I turn these on or off?

I’m not certain how one ended up off, but I need to turn the other off too.

Thanks!

~Bon

Best answer by Mischa

Hi,

Whether a widget shows a search box or not simply has to do with the number of items that are displayed in the widget. If there are only a few items, no search box is displayed. This has nothing to do with ASR/CSS, it is how it is programmed in the WebUI itself.

This not only holds for the Legend widget, but also for the Multiselect, for example.

3 replies

mohansx
Forum|alt.badge.img+5
  • Former AIMMSian
  • 223 replies
  • November 14, 2019

Are there any CSS snippets for legend widgets in your ASR ?


Mischa
AIMMSian
Forum|alt.badge.img+6
  • AIMMSian
  • 29 replies
  • Answer
  • November 14, 2019

Hi,

Whether a widget shows a search box or not simply has to do with the number of items that are displayed in the widget. If there are only a few items, no search box is displayed. This has nothing to do with ASR/CSS, it is how it is programmed in the WebUI itself.

This not only holds for the Legend widget, but also for the Multiselect, for example.


  • 0 replies
  • November 19, 2019

FYI: both the legend and multiselect widget get the search bar if the number of elements is 7 or higher.



Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator