Skip to main content
12-Amethyst
February 26, 2016
Question

Disabling Drop Down

  • February 26, 2016
  • 3 replies
  • 2672 views

Does any one know how to disable drop down based on some event. I have used list widget with View as Drop Down. I dont see any attribute of disabled exposed for this widget.

3 replies

1-Visitor
February 26, 2016

It's true that there's not Disabled property for List widget. Maybe an alternative way to do this is don't bind any data to the widget.

1-Visitor
February 26, 2016

You can make it invisible and show another widget instead.

vgala12-AmethystAuthor
12-Amethyst
February 29, 2016

Thanks all for replying. And Carles Coll ... Even though it requires little manipulation with expressions, its a nice idea as a workaround. Thanks again.

1-Visitor
March 29, 2016

You can also Overlap two List View (may be with different Z-index)

1st List : the one that binds to appropriate data source and this is the list that you want to use when enable.

2nd List: a dummy List that does not bind to any data source.

Now enable 1st List will display itself above the second one and disabling it will show the 2nd List.

vgala12-AmethystAuthor
12-Amethyst
March 31, 2016

Thanks Amarjit for taking time and replying to this. I had already used workaround of using two lists and showing/hiding one of them at a time and it works for me.