Need a special offer?Find out if your project fits.
+

Clear sorting not working in flat view

Resolved
Accobat Development asked on May 27, 2023

Hello,
We cannot get the unsort function to work at all in flat view. Neither in our own environment nor in this very simple JSFiddle where I added the function (based on your flat view demo).
 
https://jsfiddle.net/bptfLhq3/
 
All we want is to clear sorting on all dimensions. This function works perfectly for us on compact view.
 
Are we missing something?

Best regards,
Jonas

4 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster May 30, 2023

Hello, Jonas!
 
Thank you for contacting us.
 
We kindly suggest trying setFlatSort([]) to achieve the desired behavior on the flat view.
Here is a modified JSFiddle to illustrate the described approach: https://jsfiddle.net/flexmonster/9xg3tr87/.
 
Hope you will find our answer helpful.
 
Kind regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster June 8, 2023

Hello, Jonas!

Hope you are doing well.

Our team is wondering if you had some time to try the suggested setFlatSort([]) to clear sorting on the flat grid. Could you please let us know if it works well for you?

Looking forward to hearing from you.

Regards,
Solomiia

Public
Accobat Development June 9, 2023

Hey Solomiia,
 
Sorry for the late reply.
 
The solution you suggested worked perfectly and we are very happy 🙂
 
Br
Jonas

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster June 9, 2023

Hello, Jonas!

Thank you for your feedback.

We are glad to hear the suggested approach works well for you.

Feel free to contact us in case of any other questions.

Kind regards,
Solomiia

Please login or Register to Submit Answer