I have a gird with a cell that should allow a double click. I can double click ten time and it wont register then sometime it will.
It appears to be that if I am double clicking in the middle of the cell it goes into edit mode (it has a drop down by the way) and I guess that is pone click wasted so my second click becomes another single one. However, if I click around the edges of the cell, so that I click it and the cursor remains as an arrow and does not go to the edit cursor then the double click event fires.
There is nothing special that I have done, I have just subscribed to the Dell Double click event so why does it only fire when clicked around the edge? It is not a problem with a straightforward text field, it seems to be something to do with drop down fields.
Please advise is there a setting I need to set somewhere so the double click is fired wherever I click within the cell?
I may have fixed it if this is the done thing. I subscribe to the double click on the combo which then fires that same event handler that is on the cell double click passing in the activecell as the double click event args.
Thank you for contacting Infragistics Developer Support!
I have done some testing of this behavior and any time I try and double click if the cell is able to enter mode it entered edit mode on the first click and then the second click happens to the editor not the grid which is why the double click of the grid isn’t being triggered.
One reason it may be happening to you only for dropdown column and not text is if you disabled editing but if the dropdown is always showing that is separate from the editing behavior. Based on your update it seems that is what happening your clicks are happening to the dropdown and not the grid so the grid’s double click event isn’t triggered. Subscribing to the editor’s double click event would be one solution if it achieves the behavior you are looking for.
Please let me know if you have any further questions concerning this matter.
have n't disabled editing. It is the Cell Double click not firing, not the grid double click. I would have expected the cell double click to fire regardless of where in the cell i am but what it does is it fires if I click close to the edge of the cell so the mouse cursor stays as an arrow during the double click, but if you mouse the cursor further in, top to bottom then it does not fire the cell double click.
The solution is working it just doesn't seem right to me, I would have thought the cell double click should fire and from there you determine if you cell is a drop down or not rather than having different events firing for different cells.
Just to clarify... you have some normal text cells (which are editable) and some dropdown cells (which are also editable). And double-clicking on the text cell puts the cell into edit mode and also fires the grid's CellDoubleClick event, but the same thing does not fire the CellDoubleClick for the dropdown cell?
If that's what's happening, then it sounds to me like a bug.