Hi Murad Jafarov,
To achieve your
goal, you need to properly set the value of the AllowTextWrapping property for
the columns based on your requirement. AllowTextWrapping determines whether the
text in a cell should be wrapped or not when the length of the text exceeds the
size of the cell.
In your case, you
need to set the AllowTextWrapping property for the "ReportType"
column.
To set the value,
use the following code:
(sfDataGrid1.Columns["ReportType"]
as GridTextColumn).AllowTextWrapping = true;
(sfDataGrid1.Columns["ProductName"] as GridTextColumn).AllowTextWrapping = true; (sfDataGrid1.Columns["Designation"] as GridTextColumn).AllowTextWrapping = true;
|
For your reference,
I attach the sample.
Regards,
Santhosh.G
Attachment:
CS_2db5350a.zip