Announcement

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

    How to control hover width for ListGrid field

    I am using SmartGWT 4.1 power edition. I can configure the hove text for a ListGrid field by setHoverCustomizer. Apparently, there is a minimal width of 100 of the hover string. It doesn't look good when the message string is very short, such as "a". How can I control the width of the hover string to be as wide as needed?

    #2
    Just set a small width and set hoverWrap to false.

    Comment


      #3
      How to setHoverWidth? There is no such method on ListGridField. The HoverCustomizer's hoverHTML returns a string.

      Comment


        #4
        ListGridField.hoverWidth exists, but it wasn't exposed. We've made that change, and you'll be able to set it as of builds dated October 9.

        In the meantime, you can set ListGrid.headerHoverWidth, which will be used by default for cell hovers, as well as header hovers.

        Comment

        Working...
        X