Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: PowerBuilder
Expertise: Beginner
Apr 16, 1998



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Datawindow column sorting

I am looking for a way to display an arrow in the the "sorted column" heading to indicate the direction and column sorted. This functionality can be seen in MS-Exchange.

This can be implemented in many ways. I've done this many times by creating a small key bitmap, one facing up and one facing down. Then when the column is clicked to be sorted, delete the bitmap and create it on the new column. If the column is clicked again, change the bitmap to the upside down version.

You could also use the arrow (borrowed from MS Exchange), or you could use a WingDing type font and see if there is something you could use there.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date