Search results
Suggest a FeaturePDF

parameters

Properties

labels

array

Gets or sets the parameter labels.

Defaults to null

Example

<div id="container"></div>
<script>
    $("#container").boldReportDesigner({
        previewOptions: {
            parameters: [{
            name:"Vehicle",
            labels:["Motor Bikes"],
            prompt:"Please select the color",
            values:["Red","Green","Blue","Yellow","Black"],
            nullable:false
            }]
        }
    });
</script>

name

string

Gets or sets the name of the parameter.

Defaults to empty

Example

<div id="container"></div>
<script>
    $("#container").boldReportDesigner({
        previewOptions: {
            parameters: [{
            name:"Vehicle",
            labels:["Motor Bikes"],
            prompt:"Please select the color",
            values:["Red","Green","Blue","Yellow","Black"],
            nullable:false
            }]
        }
    });
</script>

nullable

boolean

Gets or sets whether the parameter allows nullable value or not.

Defaults to false

Example

<div id="container"></div>
<script>
    $("#container").boldReportDesigner({
        previewOptions: {
            parameters: [{
            name:"Vehicle",
            labels:["Motor Bikes"],
            prompt:"Please select the color",
            values:["Red","Green","Blue","Yellow","Black"],
            nullable:false
            }]
        }
    });
</script>

prompt

string

Gets or sets the prompt message associated with the specified parameter.

Defaults to empty

Example

<div id="container"></div>
<script>
    $("#container").boldReportDesigner({
        previewOptions: {
            parameters: [{
            name:"Vehicle",
            labels:["Motor Bikes"],
            prompt:"Please select the color",
            values:["Red","Green","Blue","Yellow","Black"],
            nullable:false
            }]
        }
    });
</script>

values

array

Gets or sets the parameter values.

Defaults to [ ]

Example

<div id="container"></div>
<script>
    $("#container").boldReportDesigner({
        previewOptions: {
            parameters: [{
            name:"Vehicle",
            labels:["Motor Bikes"],
            prompt:"Please select the color",
            values:["Red","Green","Blue","Yellow","Black"],
            nullable:false
            }]
        }
    });
</script>
Contents
Having trouble getting help?Contact Support
Contents
Having trouble getting help?Contact Support