This question is locked. New answers and comments are not allowed.
I have a requirement that the user would double-click a row (actually a specific cell) and I would increase an integer field by one. I have the code that accomplished this on a single click but I am running into two issues.
1. if the user double clicks, the field is opened for editing and clicking no longer causes the event (selection changed event). I was thinking of intercepting the editing event and increasing the quantity but that doesn't seem right.
2. I tried to set the cell to read-only but that didn't work either.
What is the best way to capture a single or double click and update a particular cell in that particular row?
1. if the user double clicks, the field is opened for editing and clicking no longer causes the event (selection changed event). I was thinking of intercepting the editing event and increasing the quantity but that doesn't seem right.
2. I tried to set the cell to read-only but that didn't work either.
What is the best way to capture a single or double click and update a particular cell in that particular row?