TabularSelectTransform.getContext Method

Gets the context from the adapter based on the given information. This context can be used to provide contextual toolbar and property grid experiences.
 

Parameters

options

Type: Object
The options in which to find the control context. Structure:
     position                [type: Object, optional: true]                                  - (optional) The position to discover context for. Structure:
         left                [type: Number]                                                  - The x coordinate relative to the top left of this adapter.
         top                 [type: Number]                                                  - The y coordinate relative to the top left of this adapter.
         e                   [type: jQuery.Event]                                            - (optional) The jQuery event associated with this context call.
     metricSetBinding        [type: dundas.view.controls.MetricSetBinding, optional: true]   - (optional) The metric set binding to find the context call is for.
     measureUniqueName       [type: String, optional: true]                                  - (optional) The measure unique name within the metric set binding.
     isStateGroup            [type: Boolean, optional: true]                                 - (optional) Whether or not this is for a state group.
 

Return Value


Type: RelatedContextData - May be null
The related context data, if a sub-element can be found at the options specified, otherwise null.