Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
billbois
Creator
Creator

Two Column Listbox Sorts Differently in Dev vs. WebView

In QV 11.2, SR 15, I have a listbox with Fixed Number of Columns set to 2, and Order by Column set to true.  In development mode, it sorts correctly, Like so:

15
26
37
48

When I switch to WebView, it switches to this order:

12
34
56
78

I've discovered that this only happens when the listbox is less than a certain width, and I think that width is determined by whether any values in the box needs to be truncated.  If a value is too long for a column, the sorting goes bad.

Is this a known issue?  Anyone know of a work-around other than widening the listbox?

1 Solution

Accepted Solutions
billbois
Creator
Creator
Author

We finally figured this out.  The sorting changes in WebView when the box is too narrow for the values to show in their entirety.  If any value in any column is truncated, the sorting goes wonky. 

View solution in original post

3 Replies
zhadrakas
Specialist II
Specialist II

Hello,

Is session recovery active? It stored selection, orders, layoutings and so on. You could turn it out within the qmc (global) or you clicked in access point by the application on "view details" and then on "remove last document state".

regards

tim

billbois
Creator
Creator
Author

Thanks, Tim.  Yes, session recovery is turned on, though we will be turning it off soon.  However, this even happens when I switch my QV client to WebView, so I'm guessing session recovery isn't the issue.

billbois
Creator
Creator
Author

We finally figured this out.  The sorting changes in WebView when the box is too narrow for the values to show in their entirety.  If any value in any column is truncated, the sorting goes wonky.