I would expect that the CurrentCellActivated event would fire when I call in code the method Grid.CurrentCell.Activate(r,c);
It does not happen.
Is this by design? Any workaround ?
thanks for the help
ADAdministrator Syncfusion Team July 2, 2004 12:57 AM
There is specific code in the Activate method that forces a return in this case before any work is done. I will forward this onto to Stefan to see if this is by design or should be changed.
You can get CurrentCellActivated to be raised by using grid.CurrentCell.MoveTo instead of grid.CurrentCell.Activate.
ADAdministrator Syncfusion Team July 2, 2004 08:32 AM
This is done this way by design in our cod, so you should use CurrentCell.MoveTo to activate a cell in this manner.
LGLuis GuerraJuly 2, 2004 12:01 PM
I seem to understand from your posting that using the method Grid.CurrentCell.MoveTo (r,c); will cause the event CurrentCellActivated to fire.
Sorry to tell you that the CurrentCellActivated event does not fire when you call in code either the method Grid.CurrentCell.MoveTo (r,c); or the method Grid.CurrentCell.Activate(r,c);
ADAdministrator Syncfusion Team July 2, 2004 01:11 PM
Calling CurrentCell.MoveTo seems to cause CurrentCellActivated to be raised in this sample. Can you attach a sample where it does not work?