Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorting the grid
Message
 
 
À
15/05/2001 10:50:46
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00507310
Message ID:
00507321
Vues:
14
>I have a form with all working operations. Now I need to sort the grid (Column2), how to do that? I have the Grid1.ChildOrder: main, but I couldn't find where to sort the grid (another step beyond?)?
>
>Chuck

There is no native support for sorting the data in a grid. What I do is put code in the Click method of each grid header that can be selected for sorting. When the header is clicked, I check to see if the order of the record source is different than the order designated for the column. If it is different, I change the order and refresh the grid.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform