Class: CurrentSelectionOptions

Qv.CurrentSelectionOptions

This is a 'pseudo class' used to document the object you will need to pass to Qv.Document.GetCurrentSelections.
Example
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);

Members

fields :Array.<Qv.FieldOptions>

An array with one Qv.FieldOptions for each field you want data for. Default value for 'state' in FieldOptions is 'selected'.
Type:

onChange :function

Your function which will be called when a selection is made
Type:
  • function