Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Not applicable

Qlik Sense client onclick event

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

Tags (2)
1 Solution

Accepted Solutions
Not applicable

Re: Qlik Sense client onclick event

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);
     }
} );
2 Replies
Not applicable

Re: Qlik Sense client onclick event

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);
     }
} );
Digvijay_Singh
Honored Contributor III

Re: Qlik Sense client onclick event

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

Community Browser