lib/parameter.js
function ReportParameter(name, type, value) {
	
	this.parameterTypes = [
		"string",
		"number",
		"boolean",
		"datetime",
		"date",
		"time"
	];

	this.name = name;
	this.type = type;
	this.value = value;
	
	this.dependsOn = null; //use when you need cascading values

	this.label = null; // display label
	this.displayControl = null; // display control

}
function ReportParameter(name, type, value) {
	
	this.parameterTypes = [
		"string",
		"number",
		"boolean",
		"datetime",
		"date",
		"time"
	];

	this.name = name;
	this.type = type;
	this.value = value;
	
	this.dependsOn = null; //use when you need cascading values

	this.label = null; // display label
	this.displayControl = null; // display control

}
function ReportParameter ( name , type , value ) { this . parameterTypes = [ "string" , "number" , "boolean" , "datetime" , "date" , "time" ] ; this . name = name ; this . type = type ; this . value = value ; this . dependsOn = null ; //use when you need cascading values this . label = null ; // display label this . displayControl = null ; // display control }
Defines a reporting parameter used when calling your reporting datasource.
@param {String} name
@param {String} type
@param {Boolean|Number|String} value
Defines a reporting parameter used when calling your reporting datasource .