Announcement

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

    ListGrid header wrapping

    Hi,
    I'm using smartgwt-4.0d version and want to wrap ListGrid header to maximum two rows. can u please suggest a way to achieve this apart from setting height of ListGridHeader.

    Thanks,
    Madan

    #2
    Set listGridField.wrap to enable text wrapping. You will need to adjust the headerHeight to fit two lines of text.

    Comment


      #3
      Text wrapping in ListGrid header

      What will happen if text does not fit in two rows?

      Originally posted by Isomorphic View Post
      Set listGridField.wrap to enable text wrapping. You will need to adjust the headerHeight to fit two lines of text.

      Comment


        #4
        Not sure what this question means. In general, the header will vertically clip header text that is taller than its specified height. It does not support auto-sizing, and vertically auto-sizing to headers would generally be a bad UI (imagine the height of the header bar changing because a user resized a header horizontally).

        Comment


          #5
          Text wrapping in ListGrid header

          Thanks for the response.

          Comment

          Working...
          X