Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
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
Partner - Creator
Partner - Creator

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

Stefan_Walther
Employee
Employee

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