How can I open a second window for editing when a row in the grid is double clicked?
I have been trying to use the MouseDoubleClick event on the grid and that almost works as desired. When the event is fired I use the CurrentRecord value to determine which record needs to be shown in the new window. The problem is when someone double clicks on a part of the grid that is not a row. For example, double clicking on the header will still open the CurrentRecord even thought that record was not clicked on. I have MultipleSelect set to false so only one record can be selected at a time.
I have been trying to use the MouseDoubleClick event on the grid and that almost works as desired. When the event is fired I use the CurrentRecord value to determine which record needs to be shown in the new window. The problem is when someone double clicks on a part of the grid that is not a row. For example, double clicking on the header will still open the CurrentRecord even thought that record was not clicked on. I have MultipleSelect set to false so only one record can be selected at a time.