How to make a cell display ‘…’ if it is not wide enough
10 Jun 20211 minute to read
You must set GridStyleInfo’sTrimming property to achieve this. To enable trimming for the whole grid, set this property in TableStyle. To enable trimming on a column, row, or cell basis, set this style property using techniques that are appropriate for the grid that you are using as discussed in the topics on changing BackColor.
//Sets Ellipsis Text for the whole grid. this.grid.TableStyle.Trimming = StringTrimming.EllipsisWord;
'Sets Ellipsis Text for the whole grid. Me.grid.TableStyle.Trimming = StringTrimming.EllipsisWord