Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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?

Tags (2)
1 Solution

Accepted Solutions
Highlighted
Employee
Employee

Re: Mashup table sort option

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
Highlighted

Re: Mashup table sort option

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!

Employee
Employee

Re: Mashup table sort option

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

Highlighted
Employee
Employee

Re: Mashup table sort option

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

Highlighted

Re: Mashup table sort option

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