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

double click -> focus to other control

On a double click on the grid I want to give another control the input focus (a control on a dockwindow). Doesn't work on the normal DoubleClick event (as with lot of other controls, treeview for example). How can I make it work?

1 Reply

AD Administrator Syncfusion Team May 13, 2003 10:34 AM UTC

The problem is that the current cell control gets focus with the first click, and this control grabs the second click as a single click to it. If you set ActivateCurrentCellBehavior to None, then the current cell control will not get focus, and the CellDoubleClick will be hit. But, of course, this means you cannot click a cell to activate it which you may need. In our upcoming 1.6 release (soon), there is another event exposed to handle this problem, CurrentCellControlDoubleClick. With the 1.6, you will be able to catch the double click and still keep the single click activation.

Loader.
Up arrow icon