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

Click here to load this message in the networking platform