or


| Protected Sub invoiceHeaderGrid_ItemDataBound(ByVal sender As Object, ByVal e As GridItemEventArgs) |
| If TypeOf e.Item Is GridDataItem Then |
| Dim _item As GridDataItem = e.Item |
| If (_item.OwnerTableView.Name = "InvoiceDetails") Then |
| Dim _ftrItem As GridFooterItem = _ |
| DirectCast(_item.OwnerTableView.GetItems(GridItemType.Footer)(0), GridFooterItem) |
| End If |
| End If |
| End Sub |
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.