Hello,
I would like to have my gridview cell contents wrap. When I set the column WrapText = true there is no padding around the cells and the text hits the border.
I tried setting the cell padding using the CellFormatting event but then the WrapText doesn't happen and the cell uses ellipse.
Can I have both?
Thanks,
Beth
This does not work
I would like to have my gridview cell contents wrap. When I set the column WrapText = true there is no padding around the cells and the text hits the border.
I tried setting the cell padding using the CellFormatting event but then the WrapText doesn't happen and the cell uses ellipse.
Can I have both?
Thanks,
Beth
This does not work
void radGridView_CellFormatting(object sender, CellFormattingEventArgs e)
{
e.CellElement.Padding = new Padding(3, 3, 5, 3);
if (e.ColumnIndex != 0)
{
e.Column.WrapText = true;
}
}