Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi column sorting in grid
Message
De
20/10/2011 08:07:22
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
19/10/2011 12:40:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01526657
Message ID:
01526960
Vues:
72
>>>Hi,
>>>
>>>has anyone implemented a way to allow users to sort by any combination of columns displayed in a grid?
>>>
>>>I would like to allow my users to click on a column and the grid gets sorted by that column (this is implemented already) then if they want to add another column to the sorting, they can ctrl+click on the next column so the order will be by the first column, then the second column and so on.
>>
>>The Visual Extend framework does this by creating temporary indices. Actually it first checks whether an index with the desired expression already exists.
>
>Thanks Hilmar

I should also mention that - in this framework - a double-click will sort by a single column. To sort by a second, third, etc. column, the user does a control-click. In both cases on the column header.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform