Parameters ActiveReportsJS API Module

Parameters 模块

类型别名

NoValueType

NoValueType: undefined

Defines special value to indicate that value is not set.

ParameterDataType

ParameterDataType: "Boolean" | "String" | "Integer" | "Float" | "Date" | "DateTime"

Defines parameter data type.

ParameterDescriptor

ParameterDescriptor: object

Defines report parameter descriptor

类型声明

  • allowBlank: boolean

    Allow blank

  • dataType: ParameterDataType

    Parameter data type

  • dependsOn: string[]

    Parameters on which parameter depends

  • multiValue: boolean

    Paramter is multivalue

  • name: string

    Parameter name

  • nullable: boolean

    Allow null

  • 可选 selectAllValue?: any

    For multivalue parameter special value to indicate that all available values are selected

ParameterValue

ParameterValue: object

Defines parameter value

类型声明

ParameterVariant

ParameterVariant: string | number | boolean | Date | null | NoValueType | SelectAllType

Type of parameter value

SelectAllType

SelectAllType: object

Defines special value for multivalue parameter to indicate that all values are set.

类型声明

  • selectAll: "$selectAll"

ValidationResult

ValidationResult: object

Parameter validation result

类型声明

  • isValid: boolean

    Indicates whether validation success or not.

  • 可选 message?: undefined | string

    The error text in case of validation fails.

  • 可选 value?: any

    New validated parameter value.

ValidationResults

ValidationResults: object

Parameters validation result

类型声明

变量

常量 noValue

noValue: undefined

Special value to indicate that value is not set.

常量 selectAll

selectAll: SelectAllType

Special value for multivalue parameter to indicate that all values are set.