Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear Qlik fans,
I'm trying to create simple chart extension, but I'm struggling with selection. I'm using following code:
this.backendApi.selectValues(0,[array],true)
it selects perfectly, but I cannot implement CONFIRM mode. I set the initial property to selectionMode:"CONFIRM" but that haven't changed anything. In the documentation there's distinction between 2 calls
this.backendApi.selectValues(0,[array],true)
and
self.backendApi.selectValues(0,[array],true) //to select in CONFIRM mode.
The problem is I don't know to what self refers to.
I'd be grateful for any idea.
Hi,
There are two selectValues methods to use depending on the mode you're after; this.backendApi.selectValues is used to immediately apply the selection, while this.selectValuescan be used if you want the selection toolbar to show and confirm manually.
PS: self is conventionally an alias for this, so they're usually the same.