We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

CurrentCellActivated does not fire on CurrentCell.Activate(r,c);

Hi guys, 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

4 Replies

AD Administrator Syncfusion Team July 2, 2004 05:57 AM UTC

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.


AD Administrator Syncfusion Team July 2, 2004 01:32 PM UTC

This is done this way by design in our cod, so you should use CurrentCell.MoveTo to activate a cell in this manner.


LG Luis Guerra July 2, 2004 05:01 PM UTC

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);


AD Administrator Syncfusion Team July 2, 2004 06:11 PM UTC

Calling CurrentCell.MoveTo seems to cause CurrentCellActivated to be raised in this sample. Can you attach a sample where it does not work? CurrentCellMoveto_5462.zip

Loader.
Live Chat Icon For mobile
Up arrow icon