2009-12-11 3 views

Répondre

2
var position = 1; 

$('table tbody tr').each(function() { 
    $('td:first', $(this)).text(position); 
    position += 1; 
}); 

Vous pouvez mettre cette fonction qui se produit lorsque le tri est fait (il est « stop » pour l'interface utilisateur de Sortables)

+0

belle solution! Merci! – baker

Questions connexes