I want to disable some items based on selection of another select component (see image). How to use itemEnabledProvider in this case or suggest any other approach.
Thanks
I want to disable some items based on selection of another select component (see image). How to use itemEnabledProvider in this case or suggest any other approach.
Thanks
Hi,
The itemEnabledProvider
is applied to each item to determine whether the item should be enabled (true
) or disabled (false
).
You can trigger it forcedly by calling radioButtonGroup.getDataProvider().refreshAll();
Regards,
Gleb