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?
Make sure you set clipAndEnableScrolling="true" on your renderer or group
That works. Seems obvious in retrospect. Thanks!