Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to correctly associate double click with the Edit?
Message
From
10/04/2013 11:16:06
 
General information
Forum:
Javascript
Category:
JQuery
Miscellaneous
Thread ID:
01570547
Message ID:
01570614
Views:
27
>>>>>I know that the code itself attaches the handle correctly to dblclick (if I change the edit to alert, it fires).
>>>>>
>>>>>So, what I am doing wrong here and how should I adjust the above?
>>>>>
>>>>>Thanks a lot in advance.
>>>>
>>>>So the function gets called. What do you mean by 'nothing happens' ? Debug/Single step it.
>>>
>>>I mean it passes through the first line and then immediately to the last. It doesn't go inside the function body in the .trSelected part. I find it very hard to follow jQuery code so I usually try to do a step out.
>>
>>If it's not stepping into code after "$('.trSelected', grid).each(function () {" then it's obviously not finding any items for the 'each'. Do '.trSelected' and 'grid' both give valid values ?
>
>It looks like I am back to the problem we discussed here message #1557273
>
>However, that solution (binding double click on Success) stopped working after I upgraded to the latest version of jquery and flexigrid and I also discovered onDoubleClick event handler so I was thinking I should be able to hook it up.
>
>I am going to re-try again now that original solution using onSuccess and binding.

But, AIUT, the binding *is* working in this case. Did you check the values I asked about ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform