Qlik Community

QlikView Extensions

Discussion Board for collaboration on QlikView Extensions.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

set selection in an Extension by the API

Hey,

it is possible to set a selection through the Extension API. I found something ( JsDoc Reference - Qv.Document.Object.Data ), but this should only work with listbox objects. Hope someone could help me.

2 Replies
patrik_seger
Not applicable

Re: set selection in an Extension by the API

Hi

You could use the SelectTextsInColumn call (in the Data part as you mention). If you define the dimensions you would like to make selections in for the extension object and then some simple expression, you could then just use this call to make selections in these dimensions.

Br Patrik

swr
Not applicable

Re: set selection in an Extension by the API

Hi,

you can use either

SelectTexts(recordsToSelect)

or


SelectTextsInColumn
(Column, toggle, recordsToSelect)


Example:

this.Data.SelectTextsInColumn(0, false, sel)

This definitely does not only work for listboxes but also within extensions!

I hope this helps!

Regards

Stefan