2 Replies Latest reply on Jun 28, 2011 11:37 AM by jimmy5805

    GridItemRenderer word wrap

    jimmy5805 Level 1

      I would like the text in my item renderer to truncate if the cell is not wide enough to display the full text. This was the default behaviour in mx:DataGrid, but I'm unable to achieve it with s:DataGrid. Instead, long text just overlays text in the adjoining cell.

       

      My item renderer just consists of 3 labels in a vertical layout. Setting the linebreak property in the labels has no effect.

       

      Is there a way to get truncating text?

       

      Thanks.