OnTableControlCellMouseDown not firing?

protected override void OnTableControlCellMouseDown( .. ) and also OnTableControlCellMouseUp don''t seem to fire in my derived class. any settings which would cause this to be the case? thanks, D.

1 Reply

AD Administrator Syncfusion Team October 15, 2004 03:11 PM UTC

The method is only hit when the cell does not have focus (with an active editing control). Once the cell control has focus, it catches the mouse events and the grid does not get them. If you want to catch the mouse events for these active cells, you can handle the TableControlCurrentCellControlGotFocus and TableControlCurrentCellControlLostFocus events. In Got focus, you can subscribe to the e.Control.MouseDown event, and in LostFocs, you can unsubscribe to the event. In this manner, you will be able to catch these actions on teh active cell.

Loader.
Up arrow icon