|
On a table viewer, how can I do the following?
[1] User clicks (or right clicks) on a column heading
[2] A pop-up menu appears that has the following choices:
[a] Sort Ascending
[b] Sort Descending
[3] User selects the choice and sorting takes place
I already have a sorting algorithm for a table viewer, the thing I am
struggling with is how to get the pop-up menu to appear.
|