2 Replies Latest reply on Sep 11, 2008 2:34 PM by Nick Belaevski

    Restricting column width

    rachana patel Newbie


      I have to restrict column width to certain length. It always resizes based on data. I tried to restrict the column width by width and style attribute on rich:column. Nothing seems to work though.

      So I thought of checking the length of string to be printed in rich:column. Whenever length is less than 30, I append
      30-string.length() spaces.

      But when string is displayed on UI all spaces are truncated.

      Can someone suggest how can I fix column width to 30 characters?

      Thanks in advance!!