Announcement

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

    Setting tooltip on a FormItem

    Is there a way to set a tooltip for a FormItem? I realize there is a FormItem.setHint(String hint) method which shows the hint to the right of items active area. Unfortunately this takes too much space for me and tooltip would be a better way to provide the hint.

    Is this possible? If not, can this be considered as RFE? Thanks.

    #2
    I think the answer lies in using FormItem.setHintStyle(String style). Only problem is I am not sure what string to use for style to get tooltips.

    Comment


      #3
      formItem.prompt (if available in SmartGWT and not just core) is the text to show as a tooltip.

      Comment


        #4
        Thanks so very much. I missed that API call as I was looking for setTooltip(). I filed an RFE to rename this method so it is more obvious. Thanks again.
        Last edited by farrukh_najmi; 9 Apr 2009, 12:46.

        Comment

        Working...
        X