>I need to lock my bottom (Totals) row on a data grid yet allow all others to be edited. Any ideas?
You can't lock a row but ...
You can have 2 DataGrid on the form (one for the data, the other for the results).
You can also handle the Scroll event so that you can scroll both grid synchronously.
Private Sub grdResult_Scroll(Cancel As Integer)
'Synchronize both grid
grdTotaux.LeftCol = grdResult.LeftCol
End Sub
Private Sub grdTotaux_Scroll(Cancel As Integer)
'Synchronize both grid
grdResult.LeftCol = grdTotaux.LeftCol
End Sub
What do you think of it?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com