Class Qv.CurrentSelectionOptions
This is a 'pseudo class' used to document the object you will need to pass to Qv.Document.GetCurrentSelections.
Constructor Attributes | Constructor Name and Description |
---|---|
Configuration object for current selections
|
Field Attributes | Field Name and Description |
---|---|
An array with one Qv.FieldOptions for each field you want data for.
|
|
Your function which will be called when a selection is made
|
Class Detail
Qv.CurrentSelectionOptions
Configuration object for current selections
var fieldOptions1 = { "name": "Actor" }; var fieldOptions2 = { "name": "Title" }; var currentSelectionOptions = { onChange: function() { // Update function here var data = this.Data.Rows; }, fields: [fieldOptions1, fieldOptions2] }; mydoc.GetCurrentSelections(currentSelectionOptions);
Field Detail
{Qv.FieldOptions[]}
fields
An array with one Qv.FieldOptions for each field you want data for. Default value for 'state' in FieldOptions is 'selected'.
{Function}
onChange
Your function which will be called when a selection is made