Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3306

Unable to set MenuItem label style through java class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 7.0.8
    • Components
    • Windows and linux os and all browser.

      We need to set the style property of MenuItem label through java class. For the we are taking the MenuItem object through its id and setting the style to the menuitem through .setStyle method of MenuItem.

      But its not able to set style to the MenuItem label because style is set to li tag rather than span tag.
      Component component = view.getFellowIfAny(fieldId);
      MenuItem menuItem = (MenuItem) component;
      if (menuItem != null)

      { menuItem.setStyle(style); }

      Attached the image for detail.

            Unassigned Unassigned
            nirmalmandhata nirmalmandhata
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified