Announcement

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

    Menu Item Disable not loadigng the CSS changes

    Hi All,

    I am using the Menuitem in my application,based on some functionliaty the menuitem will be enabled and disabled.

    While enabling the Menuitem font color will be in diff green color,but while disable the menuitem color will be grey.

    but the problem is once the Menuitem is enabled and then made disabled usinsing setEnabled(false);method, the font color is not getting refelected.

    Please let me know how to reload the css changes for setEnabled(false); method.

    Thanks in Advance
    Last edited by madhusanmani; 21 Sep 2012, 23:00.

    #2
    I ran into this recently as well. What you need to do is call markForRedraw() on the menu after changing the menuItems.

    Comment


      #3
      HI,

      Its worked, thnaks for your help.

      Comment

      Working...
      X