<syncfusion:GridTextColumn MappingName="Name" TextWrapping="NoWrap" /> |
Hi David,You can achieve your requirement for truncate the text if the text not fit in the cell by setting the TextWrapping as NoWrap for columns,
<syncfusion:GridTextColumn MappingName="Name" TextWrapping="NoWrap" />Regards,Jai Ganesh S
this.sfGrid.AutoGeneratingColumn += SfGrid_AutoGeneratingColumn;
private void SfGrid_AutoGeneratingColumn(object sender, AutoGeneratingColumnArgs e)
{
if (e.Column.MappingName == "Name")
(e.Column as GridTextColumn).TextWrapping = TextWrapping.NoWrap;
} |
Hi David,
Thank you for the update.
Please let us know if you need further assistance on this.
Regards,
Jai Ganesh S