im using dataformat property in my Grid as i don't want wrapping in my grid cell [in column created event handler] and for this im setting property as follows:
if
(e.Column.ColumnType == "GridBoundColumn")
{
((
GridBoundColumn)e.Column).DataFormatString = "<nobr>{0}</nobr>";
}
But after applying this property grid lines are not displaying properly wherever blank space is coming in a cell.
please provide me a solution as i want grid lines also in my grid.