Oops...sorry about the blank post....
I'm looking for an event that will fire on a single click of a cell (rather than the double click). I need to be able to determine which cell was clicked as well.
Do you have any suggestions? I can't seem to find an event that fires on single click that has a cellEventArgs passed in....
It depends on a number of factors. Do you only care about clicks? What if the user tabs into the cell? When the user clicks the cell, what happens - does it go into edit mode or does the cell get selected (CellClickAction controls this).
This article will tell you how to trap MouseUp on a cell in edit mode.
FAQ:Mouse events such as MouseDown, MouseUp, and DoubleClick do not fire when the mouse is over a cell that is in edit mode.
Hi all,I need to track cell clicks. The problem with the MouseUp event is that it's not fired when the cell is going to the edit mode. That is when the click causes a cell to go to the edit mode. Also the event is not fired when a cell is already in the edit mode. However this is absolutely necessarily for me to track when a cell was clicked either it's in edit mode, going to the edit mode or is not in edit mode.Any help?Thanks,Vitaly
Okay, in that case, I would use the MouseUp event of the grid. The caveat is that this event will fire no matter where the user clicks, so it might not be on a cell. So to determine the cell that was clicked (if any) you use UIElements:
HOWTO:UltraWinGrid Mouse Position and Cell Identification
Oh, and No...I don't care about tabs....only clicks.
I'm trying to change some Farpoint Grids to Infragistics Grids, and i'm hoping to change as little code as possible. The Farpoint Grids have an event for cell click. The stuff thats happening is all in the background, it's getting some objects ready incase the user decides to drag/drop. I actually was able to get it to work by using the beforeCellActivate event, with only one small issue....and maybe you know a way around it....
The beforeCellActivate event works fine for what I need to do except when the cell is clicked, and then clicked again while it is already set as active. Since the cell is already active, the beforeCellActivate event never fires, which is an issue. Ideally there would be a cellClick event to do what i'm doing, but if that's not the case...do you have any other suggestions for how I can handle my issue with the even not firing on the active cell?