Parameter Class
Declaration
export class Parameter extends TypedSerializableModel
constructor
Initializes a new instance of the Parameter
class.
Declaration
constructor(
modelJson?: any,
serializer?: DxDesigner.Analytics.Utils.ModelSerializer,
_allParameters?: KnockoutObservableArray<Parameter>
)
Parameters
Name |
Type |
Description |
modelJson |
any |
A JSON object used for a dashboard deserialization. Do not pass this parameter directly.
|
serializer |
DxDesigner.Analytics.Utils.ModelSerializer |
An object used for a dashboard deserialization. Do not pass this parameter directly.
|
_allParameters |
KnockoutObservableArray<Parameter> |
|
Properties
allowMultiselect Property
Specifies whether multi-selection is enabled for the current parameter.
Declaration
allowMultiselect: KnockoutObservable<boolean>
Property Value
Type |
Description |
KnockoutObservable<boolean> |
true, to allow end-users to use the multiple parameter values; otherwise, false.
|
To learn more, see Pass a Multi-Value Parameter Value to a Query.
allowNull Property
Declaration
allowNull: KnockoutObservable<boolean>
Property Value
containsDisplayMember Property
Declaration
containsDisplayMember: KnockoutComputed<boolean>
Property Value
defaultValue Property
Declaration
defaultValue: KnockoutObservable<any>
Property Value
defaultValues Property
Declaration
defaultValues: KnockoutObservableArray<LookUpValue>
Property Value
description Property
Declaration
description: KnockoutObservable<string>
Property Value
dynamicListLookUpSettings Property
Declaration
dynamicListLookUpSettings: KnockoutObservable<DynamicListLookUpSettings>
Property Value
lookUpSourceType Property
Declaration
lookUpSourceType: KnockoutObservable<"None" | "StaticListLookUpSettings" | "DynamicListLookUpSettings">
Property Value
Type |
" altProperty="fullName" displayProperty="name" /> |
name Property
Declaration
name: KnockoutObservable<string>
Property Value
parameterVisible Property
Declaration
parameterVisible: KnockoutObservable<boolean>
Property Value
SelectAllValue Property
Declaration
static SelectAllValue: string
Property Value
selectAllValues Property
Declaration
selectAllValues: KnockoutObservable<boolean>
Property Value
staticListLookUpSettings Property
Declaration
staticListLookUpSettings: KnockoutObservable<StaticListLookUpSettings>
Property Value
type Property
Declaration
type: KnockoutComputed<string>
Property Value
Methods
getInfo Method
Declaration
getInfo(): DxDesigner.Analytics.Utils.ISerializationsInfo
Returns
Type |
Description |
DxDesigner.Analytics.Utils.ISerializationsInfo |
|
grabFrom(another) Method
Declaration
grabFrom(
another: Parameter
): void
Parameters
Name |
Type |
another |
Parameter |
isPropertyDisabled(propertyName) Method
Declaration
isPropertyDisabled(
propertyName: string
): boolean
Parameters
Name |
Type |
propertyName |
string |
Returns
isPropertyVisible(propertyName) Method
Declaration
isPropertyVisible(
propertyName: string
): boolean
Parameters
Name |
Type |
propertyName |
string |
Returns