Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Announcing the newest addition to the Qlik Community, Qlik Gallery! Learn More
billbois
New Contributor III

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?

Tags (2)
1 Solution

Accepted Solutions
billbois
New Contributor III

Re: Two Column Listbox Sorts Differently in Dev vs. WebView

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. 

3 Replies
zhadrakas
Valued Contributor

Re: Two Column Listbox Sorts Differently in Dev vs. WebView

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
New Contributor III

Re: Two Column Listbox Sorts Differently in Dev vs. WebView

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
New Contributor III

Re: Two Column Listbox Sorts Differently in Dev vs. WebView

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.