Skip to content

Instantly share code, notes, and snippets.

@erikwett
Last active April 26, 2018 16:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save erikwett/b0b32e21c293b743261bec4de73a4271 to your computer and use it in GitHub Desktop.
Property panel code to add an alternate state
addstate: {
ref: "statename",
label: "Add state",
type: "string",
change: function (data) {
if(data.statename){
qlik.currApp().addAlternateState(data.statename);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment