I want to use this
$( document ).dblclick( function ( e ) {}
and tat works fine anywhere on the webpage but on the igrid. I made sure not to set the edit trigger to double click. Every time I double click on a grid my even is ignored. How can I properly over ride it.
if I do this
editCellStarting: function ( evt, ui ) { return false; ...
it works but that seem like the wrong way to do it.
Hello seang,
Thank you for contacting Infragistics. It looks like the entering of edit mode is interfering with your double click event. I have some questions concerning this matter. What are you trying to achieve with the double click event? What is the condition you want entering of edit mode to occur?
Well its worked ok I'm just worried this would be bad practices. The idea here is to allow editing cells without any Infragistsics code running in the back ground. So essentially I want to take over the double click method all together.
this info was helpful thx.
Hello Seang,
Thank you for the update. For what you want to achieve your code shouldn’t cause any issues. Some alternate options would be to set the startEditTriggers to “F2” and leave click out of them. Another would be to set the editMode to “none” or “null”. With those options I believe you wouldn’t have to handle and cancel the event. Please see the following link and go to options:
http://help.infragistics.com/jQuery/2013.2/ui.iggridupdating
Please let me know if you have any further questions concerning this matter.