Dear visitor, despite the COVID-19 outbreak, our team continues operating at full speed.

Also, here is the form where you can apply for a special discount and we will contact you with possible options. Stay safe and continue achieving your business goals.

Fill the form
Get Free Trial
Get Free Trial

Are you sure for this translation ?

Resolved
Kevin asked on April 20, 2020

Hello , 
When mouse on sorting arrow in flexmonster, wrong message is displayed
 
For example in the belaw image, data are already sorted in descending order but when you you mouse on the sorting arrow, you get “Click to sort Desc” instead of “Click to sort Asc”
 
 

Attachments:
sort.png

2 answers

Public
Vera Didenko Flexmonster April 21, 2020

Hello, Kevin,
 
Thank you for reaching out to us.
 
Our team has not managed to reproduce the issue: when sorting is applied, the opposite sorting option is proposed on hover.
Please see the following JSFiddle example for illustration: https://jsfiddle.net/flexmonster/Lq9ekuct/
 
We would like to explain that by default values are unsorted, please see: https://jsfiddle.net/flexmonster/bvxLpsrq/
In such a case, it is possible for the values to end up being displayed in descending order, even though in reality no sorting is applied.
If this is not the case, could you please modify the following JSFiddle so the issue is reproducible: https://jsfiddle.net/flexmonster/Lq9ekuct/ ?
This will greatly help us to understand the situation better.
 
In addition, please kindly consider that is possible to specify the sorting in the slice configuration, for example:

slice: {
rows: [...],
columns: [...],
measures: [
{uniqueName: "Value"}
],
sorting: {
column: {
type: "desc",
tuple: [
"color.[green]"
],
measure: {
uniqueName: "Value",
aggregation: "sum"
}
}
}
}

This way by default the values will be sorted in descending order and, hence, on hover, the tooltip will display Click to sort Asc.
 
Please let us know if this helps. 
Looking forward to your reply.
 
Kind regards,
Vera

Public
Kevin May 11, 2020

Fix with update version

Please login or Register to Submit Answer