Announcement

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

    How to wrap text of individual columns in grid?

    I can see that I can set the ListGrid properties wrapCells=true and fixedRecordHeights=false in order to wrap text in all cells.

    Is there a way of only applying wrapping to a specified column such that you could show one column with wrapped text and another column with non-wrapped text in the same grid?

    Many thanks for any advice.

    #2
    A mixture of clipping and wrapping can look a little odd, but you can use formatCellValue to add <nobr> tags around some columns if you like.

    Comment


      #3
      Great, thanks. For others, you'd need to set wrapCells=true and fixedRecordHeights=false then wrap text in <nobr> for the columns where text should be clipped.

      Comment

      Working...
      X