Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
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?
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!
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?
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?
If they cover your need, go ahead and use them instead.