Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
TheTodai
Contributor II
Contributor II

Extension development: Listen for changes in selections made in alternate state

Hello,

I am developing an extension containing a <table> element. My problem is, that I need my table to "respond" to two states: default state and an alternate state.

When the user clicks a row in the table, a selection filter is set in Qlik in an alternate state (named AlternateState). This also highlights the row in the table (by saving the selection in a variable). Clicking the row in the table again will de-select the value in the alternate state and remove the highlight in the table.

Now, when the user makes a selection or de-selection directly via Qlik's native selection tool (still in the alternate state), my extension table is not updated with the corresponding highlight.

As far as I have found out, any changes made to selections in the default state, will automtically re-execute/re-render the paint function, but the same is not the case for alternate states and therefore my variable containing the selections in the alternate state will not get updated.

Right now, my table filters down when selections are made in the default state, and I want to keep it that way. But how can I make the extension to also listen for and react to changes in the alternate state?

Labels (2)
0 Replies