Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to correctly associate double click with the Edit?
Message
 
 
General information
Forum:
Javascript
Category:
JQuery
Miscellaneous
Thread ID:
01570547
Message ID:
01570650
Views:
35
Here is what I see (see attached) - I am debugging in IE.

What should I do with it?

Here is what I currently have:
onSubmit: addFormData,
   //onDoubleClick: edit('Edit', this),
   onSuccess: bindDblClick,
   addTitleToCell: true,
   hideOnSubmit: false,
   height: 'auto',
   singleSelect: true
});
and this is what I put in bindDblClick
function bindDblClick() {
   $('#flexClients tr').dblclick(function () {
      
      edit('Edit', $('#flexClients'));
   });
}
where Edit starts with:
function edit(com, grid) {
 
   $('.trSelected', grid).each(function () {

      var id = $(this).attr('id');
      alert('Id is: ' + id);
...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform