Bonnie:
I have three form, that I have the same problem. but the code for the check box in the grid I have to recoded and I dont have the original code that was causing the problem.
But, this code basically is what I made in the method changedcell ,
Private Sub Grid_doubleClickHeader(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.DoubleClickHeaderEventArgs) Handles Dept_Grid.DoubleClickHeader
Dim Cvalue As String
Dim drdepts As DataRow
Dim I As Integer
Dim rposition As CurrencyManager
rposition = CType(Me.BindingContext(Me.Depts_LookupDataSet.Depts_Lookup), CurrencyManager)
Me.Depts_LookupDataSet.GetChanges()
rposition.Position = 0
I = 0
Cvalue = e.Header.Column.ToString
If Cvalue = "lsele" Then
For Each drdepts In Me.Depts_LookupDataSet.Tables(0).Rows
If drdepts("lsele") = True Then
I = I + 1
End If
Next drdepts
If I = 0 Then
Me.Edit_btn.Enabled = False
Me.Del_btn.Enabled = False
checkcount = 0
Else
Me.Edit_btn.Enabled = True
Me.Del_btn.Enabled = True
checkcount = Me.Dept_Grid.Rows.Count
End If
End If
End Sub