Qv.CurrentSelectionOptions

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