Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Disabled scrollbars on disabled widget

    Hi,

    When doing a DynamicForm.setDisabled(true) and having this form showing scrollbars, makes the scrollbars look disabled.
    I guess that's valid because of the javadoc states that all its childrend and peers are disabled as well.
    But it's a bit inconsistent since scrolling the form via the middle mouse button still works.

    Is there a quick and easy way to disable the widget, without disabling its scrollbars? (Applies to DynamicForm and ListGrid).


    thanks,
    SmartGWT EE SC_SNAPSHOT-2011-03-17

    #2
    Not sure if you are going to consider this quick or easy, but if a widget is within a VLayout or Canvas and what's showing the scrollbar is the surrounding VLayout or Canvas, disabling the widget will not disable the scrollbar.

    Comment

    Working...
    X