Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi column sorting in grid
Message
From
20/10/2011 08:21:35
 
 
To
20/10/2011 08:07:22
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01526657
Message ID:
01526961
Views:
62
>>>>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.

Hilmar,

thanks, that is the functionality I would like to have, I haven't managed to get Marcia's code to run yet (I'm waiting on some additional files), I don't think it will work like this but before I go through with developing this functionality I'd like to see Marcia's code run and then decide if it will be worth the time invested to do it my way.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Reply
Map
View

Click here to load this message in the networking platform