Hi Omar,
Sorry for the delay in getting back to you.
Issue 1 : Using Shift+del on cell4 deletes its contents but that does not happen on cell3. I am not able to reproduce this issue in Syncfusion Essential Studio 2008 Volume 1 Final version (6.1.0.34). Please tell me the Essential studio version you are using.
Issue 2 : if the cell is activated and I press the "Delete" key, then select any other cell in the grid, it becomes apparent that the CellValidating and CellAcceptedChanges events still ran.This issue can be resolved by setting GridControl1.CurrentCell.IsModified = False in CellValidating and CellAcceptedChanges events as follows.
[VB]
Private Sub GridControl1_CurrentCellValidating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles GridControl1.CurrentCellValidating
If GridControl1.CurrentCell.ColIndex = 3 Or GridControl1.CurrentCell.ColIndex = 4 Then
GridControl1.CurrentCell.IsModified = False
Console.WriteLine("CurrentCellValidating")
End If
End Sub
Private Sub GridControl1_CurrentCellAcceptedChanges(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles GridControl1.CurrentCellAcceptedChanges
If GridControl1.CurrentCell.ColIndex = 3 Or GridControl1.CurrentCell.ColIndex = 4 Then
GridControl1.CurrentCell.IsModified = False
Console.WriteLine("CurrentCellAcceptedChanges")
End If
End Sub
Issue 3 : In Cell3, typing in a numeric value did not change the CurrentCell.IsModified but pressing the Delete key did. I am able to reproduce this issue when displaying the status of CurrentCell.IsModified in CurrentCellKeyPress event as follows.
[VB]
Private Sub GridControl1_CurrentCellKeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles GridControl1.CurrentCellKeyPress
If GridControl1.CurrentCell.ColIndex = 3 Or GridControl1.CurrentCell.ColIndex = 4 Then
MessageBox.Show(GridControl1.CurrentCell.IsModified.ToString())
End If
End Sub
This is because the status of CurrentCell.IsModified will be displayed when numeric keys are pressed and not when DELETE key is pressed since CurrentCellKeyPress will not raise when DELETE key is pressed.
Issue 4 : CurrentCellStartEditing event is raised even when a cell is set to ReadOnly I am not able to reproduce this issue in Syncfusion Essential Studio 2008 Volume 1 Final version (6.1.0.34).Please tell me the Essential studio version you are using.
Sample reference Please refer the sample in the below location and let me know if you have any further questions.
http://websamples.syncfusion.com/samples/Grid.Windows/F67440/main.htm Regards,
Jaya