http://docs.lansa.com/14/en/lansa016/PR ... NCLICK.htm
The SortOnClick controls whether data is sorted when the user clicks on the column heading.
When the webpage is initially displayed there is nothing to tell the user the column is sortable.
When clicks on the Stock Age (Days) column's heading are performed, then the ascending/descending symbol is displayed.
My question is:
Why is the sort symbol not displayed on initial display of the webpage? Because the user won't know that they can click on the column heading and have it sorted.
The SortOnClick Property in PRIM_LIST.String
Re: The SortOnClick Property in PRIM_LIST.String
Do you have a column with sortposition 1? I can't tell how the initial display is sorted
Art Tostaine
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: The SortOnClick Property in PRIM_LIST.String
In Windows applications, it is typically assumed that list columns will be sortable by clicking on the column header. With this being the case, list columns in LANSA have only ever shown the sort symbol when the column is the primary sort i.e. SortPosition(1). This is consistent with how lists in Windows typically represent sorting.
When running in the browser the UI follows the same rules.
Regards
When running in the browser the UI follows the same rules.
Regards
Re: The SortOnClick Property in PRIM_LIST.String
No, I did not have a column with sortposition of 1.
I've experimented with the different sort properties.
I tried sortposition(1) and the sort symbol appeared BUT clicking on it doesn't sort the column.
Only when I also included sortonclick(true) was it able to be sorted.
Thanks for your input guys
.
I've experimented with the different sort properties.
I tried sortposition(1) and the sort symbol appeared BUT clicking on it doesn't sort the column.
Only when I also included sortonclick(true) was it able to be sorted.
Thanks for your input guys