Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi column sorting in grid
Message
De
18/10/2011 22:26:32
 
 
À
18/10/2011 15:37: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:
01526827
Vues:
97
>>>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.
>>>
>>>I have implemented this by using a "sort by" grid that contains user friendly names of fields in the grid's RecordSource and a column to specify "ascending or descending". It is a grid with mover bars that lets the user specify the order of the fields that are used to do the sorting. When they have the sort set up, they click a button that says "Sort Now".
>>>
>>>I do not have the code handy right now - at a client site, but you can find the grid with the mover bars in one of our old Kitbox Columns. I do not have the exact month right now but I can let you know later...
>>
>>Thanks Marcia,
>>
>>I'll see if I can dig it up myself too.
>Hi,
>
>Marcia's class is an easy to use and a must-have in case you can't find it and Marcia allows I could supply you the code.
>Also very usefull is Graig Booyd's class this one to be found at: http://www.sweetpotatosoftware.com/spsblog/CommentView,guid,d6d71562-1655-4518-9341-527932970583.aspx,
>
>Regards,
>
>Koen

Hi Koen,

thanks for the offer, I'll see what Marcia says (if you can remember which magazine it came from I may have it already as I believe I have most FoxTalk magazines). I have got Craig's GridExtras already and been looking at it for the Excel export, but for some reason it's not working for me. I've tracked it down to an error that seems to be related to vfpoledb.dll but not looked too hard at it yet.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform