Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

MenuItem with MenuItemIfFunction needs markForRedraw to show changed state

$
0
0
Hello,

We have this case where we have an IconMenuButton with a contained Menu which has a bunch of MenuItems. Those have an MenuItemIfFunction which dynamically toggles the disabled state of the menu items.

It seems we need to manually mark the Menu for redraw to have the correct state appearing, for instance from disabled to enabled. Is this expected? We would expect the redraw to happen when needed from inside the framework?

We are using v9.1p_2014-12-11/Pro Deployment (built 2014-12-11).


thanks
jan

Viewing all articles
Browse latest Browse all 4756

Trending Articles