Search results
Suggest a FeaturePDF

parameters array

Properties

labels

array

Gets or sets the parameter labels.

Defaults to null

Example

<div id="reportviewer"></div>
<script>
    $("#reportviewer").boldReportViewer({
        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="reportviewer"></div>
<script>
    $("#reportviewer").boldReportViewer({
        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="reportviewer"></div>
<script>
    $("#reportviewer").boldReportViewer({
        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="reportviewer"></div>
<script>
    $("#reportviewer").boldReportViewer({
        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="reportviewer"></div>
<script>
    $("#reportviewer").boldReportViewer({
        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