Search results

parameters

Properties

labels

array

Gets or sets the parameter labels.

Default Value

  • null

Example

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

Default Value

  • empty

Example

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

Default Value

  • false

Example

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

Default Value

  • empty

Example

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

Default Value

  • []

Example

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