The attached code does what I want with my autogenerated grid (hides the first column) EXCEPT
for the header row. I cannot seem to find how that is done, so everything in the following rows appears to move to the left.
How do I also make the header column invisible?
Public Sub FormatGrid(ByRef dbgrid As GridView,
ByVal str_format As String)
Dim introw As Integer
Dim introwcnt As Integer
introwcnt = dbgrid.Rows.Count
For introw = 0 To dbgrid.Rows.Count - 1
dbgrid.Rows(introw).Cells(Me.ColumnsByNumber_RECORDID).Visible = False
Catch ex As Exception
str_format = "stop here"