Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have looked on the discussion boards and couldn't find what I was looking for. I have built a .NET MVC web app which contains a iframe, which is used to display a qlik sheet. When the iframe populated with the Qlik Sheet, is there anyway to capture the onclick event. Qlik itself doesn't seem to have it by default.
The reason I ask is because I want to update other html parts based on the selections, as well as log selections for debugging purposes.
Regards,
Alex Watts
in case anyone was interested my found my answer. Its really not clear in the documentation, well it wasn't to me. But I used the qlik app api and the getList function using the SelectionObject as my parameter. HOWEVER the return list of selections is limited to 6, when you go over you "n of x selected" message. How, do you get all of them, feel free to tell me.
app.getList( 'SelectionObject', function ( reply ) { var str = ""; $.each(reply.qSelectionObject.qSelections, function(key, value) { // ONLY LIMITED TO 6 str += value.qField + ': ' + value.qSelected + '\n'; }); if(str.length > 0){ alert(str); } } );
in case anyone was interested my found my answer. Its really not clear in the documentation, well it wasn't to me. But I used the qlik app api and the getList function using the SelectionObject as my parameter. HOWEVER the return list of selections is limited to 6, when you go over you "n of x selected" message. How, do you get all of them, feel free to tell me.
app.getList( 'SelectionObject', function ( reply ) { var str = ""; $.each(reply.qSelectionObject.qSelections, function(key, value) { // ONLY LIMITED TO 6 str += value.qField + ': ' + value.qSelected + '\n'; }); if(str.length > 0){ alert(str); } } );
You need to modify the setting.ini file usually located in C:\ProgramData\Qlik\Sense\Engine
Under [Settings 7] section add below line:
MaxCurSelEntries=15