ECN-4324: Sort column indicator

Type of Change: Enhancement

Product: ACUCOBOL-GT

Module: Run Time

New Version: 10.0.0

Machines Affected: Windows

Known Versions Affected: 9.2.0 and later

Description of enhancement

Previously, when a grid had sortable columns, there was no indication that a user had clicked a column head to sort the grid by that column.

Now, if the user clicks a sortable column, the run time draws a small triangle on the column header to indicate that the grid is sorted by that column. If the sort is currently ascending, the triangle will point down; otherwise, it will point up.

The triangle takes up a little space on the grid column header (about 14 pixels); you should make sure there is enough space on any sortable column headers to account for this triangle.

You can also configure the indicator to be an arrow (as opposed to a triangle), but triangle is the default. To change to use an arrow, set the new configuration variable GRID-SORT-INDICATOR with the value of ARROW. The value of TRIANGLE keeps the indicator as a triangle. This variable can be dynamically set and queried.