Hide columns option - messes with sort order?
Posted: Mon Jan 06, 2020 7:42 pm
I'm kinda new to the advanced grid options, such as hide_columns and sort_order. I'm pretty good with field_name_sort_response.
In playing with these features, it looks to me like when I hide a column, the sort_order and field_name_sort_response return the column number to sort by, but it doesn't account for the hidden column. For example, let's say I have four columns (ABCD) and I hide the second column, B (ACD). When I sort on my new second column C, sort_order acts like I'm sorting on column B, even though it's hidden. field_name_sort_response definitely returns the bound field for column B to the RPG program.
Am I missing a setting or logic step somewhere? We're running Version 6, Fix Pack 4.1.
Appreciate the feed back!
In playing with these features, it looks to me like when I hide a column, the sort_order and field_name_sort_response return the column number to sort by, but it doesn't account for the hidden column. For example, let's say I have four columns (ABCD) and I hide the second column, B (ACD). When I sort on my new second column C, sort_order acts like I'm sorting on column B, even though it's hidden. field_name_sort_response definitely returns the bound field for column B to the RPG program.
Am I missing a setting or logic step somewhere? We're running Version 6, Fix Pack 4.1.
Appreciate the feed back!