initialProperties property
initialProperties()
Property used to specify the properties your object should have when first created. Can be defined as hyper cube (qHyperCubeDef) or as a list object (qListObjectDef).
You also set up all custom properties and assign your custom properties default values.
Examples
Information noteNote that you need to define how many rows and columns you should get in the initial fetch.
Example: An example using a hyper cube
initialProperties : {
qHyperCubeDef : {
qDimensions : [],
qMeasures : [],
qInitialDataFetch : [{
qWidth : 2,
qHeight : 50
}]
}
}
Example: An example that uses a list object and also defines some custom properties
initialProperties : {
qListObjectDef : {
qShowAlternatives : true,
qFrequencyMode : "V",
qInitialDataFetch : [{
qWidth : 2,
qHeight : 50
}]
},
fixed : true,
width : 25,
percent : true,
selectionMode : "CONFIRM"
}