Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to correctly associate double click with the Edit?
Message
 
 
À
10/04/2013 11:57:25
Information générale
Forum:
Javascript
Catégorie:
JQuery
Divers
Thread ID:
01570547
Message ID:
01570650
Vues:
34
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform