Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
feg
Employee
Employee

Mashup table sort option

Hi all,

I created a table in QlikSense and use its hypercube to render it in a mashup.

I would like to add the sort functionality, so that if I click on the measure header it sort the table.

I tried with "setOptions()" and "backendApi.applyPatches()" but I do not seem to be able to make it work.

Can you help me?

Labels (5)
1 Solution

Accepted Solutions
feg
Employee
Employee
Author

I found this method of the capability API.

https://help.qlik.com/en-US/sense-developer/February2020/Subsystems/APIs/Content/Sense_ClientAPIs/Ca...

They seems to work nicely and they are much easier to implement.

Why should I use applyPatches instead? 

View solution in original post

4 Replies
ErikWetterberg

Hi,

I have written about this on my blog:

https://extendingqlik.upper88.com/guide-to-qlik-sense-applypatches/

 

There is also a link to a more complete example, that I showed at Qonnections in 2015, available on GitHub.

 

Hope this helps!

feg
Employee
Employee
Author

Hi @ErikWetterberg ,

thanks for your help, I can now change the column sort using the "applyPatches".

I'm having an issue with the "reversesort', when I call it it gives me an error "reversesort is not defined". Infacact I can not see that in the console. What am I doing wrong?

Capture.PNG

feg
Employee
Employee
Author

I found this method of the capability API.

https://help.qlik.com/en-US/sense-developer/February2020/Subsystems/APIs/Content/Sense_ClientAPIs/Ca...

They seems to work nicely and they are much easier to implement.

Why should I use applyPatches instead? 

ErikWetterberg

If they cover your need, go ahead and use them instead.