Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.
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?
I found this method of the capability API.
They seems to work nicely and they are much easier to implement.
Why should I use applyPatches instead?
View solution in original post
I have written about this on my blog:
There is also a link to a more complete example, that I showed at Qonnections in 2015, available on GitHub.
Hope this helps!
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?
If they cover your need, go ahead and use them instead.