TimeDimensionDialog Constructor

Initializes the dialog. Called during construction.
 

Parameters

options

Type: Object
(optional) The options object for the creation of the dialog. Structure:
     timeDimensionId             [type: String]                          - (optional) The existing time dimension ID that's being edited. If null,
                                                                           then it's assumed it's a new time dimension.

     projectId                   [type: String]                          - (optional) The project to use try save this data connector, if not the default one.

     timeDimension               [type: dundas.entities.TimeDimension]   - (optional) The time dimension entity itself, if it's not in the file system. This should only
                                                                           be provided for situations where the caption formatting is required.

     returnProviderParameterValueOverridesOnly       [type: Boolean]     - (optional) A mode to indicate that the time dimension is only being shown to gather
                                                                           parameter value overrides for the provider, and return them. For this to be used,
                                                                           the time dimension ID must be specified. This will hide the ability to check in
                                                                           and save the actual time dimension.

     overrideParameterValues                         [type: Array, elementType: dundas.data.ParameterValue]   - (optional) If returnProviderParameterValueOverridesOnly is set,
                                                                           then default override parameter values can be specified to show in the UI.
 

Optional: True

Examples

The following example initializes a new instance of a TimeDimensionDialog object:

var newObject = new dundas.controls.TimeDimensionDialog();