Information générale
Catégorie:
Codage, syntaxe et commandes
I realize I can loop through the array. The question was what to change them to. I couldn't sort out the reordering logic. I changed my mind about what to do, anyway. (See response to myself)
Thanks,
Michelle
>
>I don't know what you actually want with this, but you can loop through the array to change them.
>We have something alike in our app.
>Then we only have even numbers.
>when the users changes one (to a not even value), the whole table is resorted and the numbers are then replaced with 2,4,6 etc.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement