Hello,
I had an issue of empty cells in grid don't have borders,
I resolved it with adding   to all cells:
protected void grid_ColumnCreated(object sender, GridColumnCreatedEventArgs e)
{
if (e.Column is GridBoundColumn)
{
(e.Column as GridBoundColumn).DataFormatString = "<nobr> {0}</nobr>";
//(e.Column as GridBoundColumn).DataFormatString = "<nobr>{0}</nobr>";
}
}
However this causes me another problem: the   is present when exporting to Excel.
What should I do?
I had an issue of empty cells in grid don't have borders,
I resolved it with adding   to all cells:
protected void grid_ColumnCreated(object sender, GridColumnCreatedEventArgs e)
{
if (e.Column is GridBoundColumn)
{
(e.Column as GridBoundColumn).DataFormatString = "<nobr> {0}</nobr>";
//(e.Column as GridBoundColumn).DataFormatString = "<nobr>{0}</nobr>";
}
}
However this causes me another problem: the   is present when exporting to Excel.
What should I do?