Hiding DataGrid Header
-
Can this be done? I've got a scrollable DIV that displays data and I've got a table above it with the proper headings but I don't want to display the header for the datagrid. Any help would be appreciated - *->>Always working on my game, teach me *->>something new. cout << "dav1d\n";
-
Can this be done? I've got a scrollable DIV that displays data and I've got a table above it with the proper headings but I don't want to display the header for the datagrid. Any help would be appreciated - *->>Always working on my game, teach me *->>something new. cout << "dav1d\n";
Sure you can hide the header. In your code-behind, add the following to the Datagrid's ItemDataBound Event:
If e.Item.ItemType = ListItemType.Header then e.Item.Visible = False End If
Hope this helps. Jeremy Oldham
-
Sure you can hide the header. In your code-behind, add the following to the Datagrid's ItemDataBound Event:
If e.Item.ItemType = ListItemType.Header then e.Item.Visible = False End If
Hope this helps. Jeremy Oldham