Get the values of a list object
Get the values of a list object by using the GetListObjectData method.
Example
The handle of the list object is 2 and the paging is composed of the first line (qHeight is 1) and first column (qWidth is 1) from the top left (qTop and q Left set to 0).
The client sends:
{
"jsonrpc": "2.0",
"id": 3,
"method": "GetListObjectData",
"handle": 2,
"params": [
"/qListObjectDef",
[
{
"qTop": 0,
"qLeft": 0,
"qHeight": 1,
"qWidth": 1
}
]
]
}
The engine returns:
{
"jsonrpc": "2.0",
"id": 3,
"result": {
"qDataPages": [
{
"qMatrix": [
[
{
"qText": "Germany",
"qNum": "NaN",
"qElemNumber": 0,
"qState": "O"
}
]
],
"qTails": [],
"qArea": {
"qLeft": 0,
"qTop": 0,
"qWidth": 1,
"qHeight": 1
}
}
]
}
}
Following the paging defined, the list object contains one value Germany that is a non numeric value (qNum is NaN). The value is not selected (qState is O).
For more information on the returned parameters, see GetListObjectData method.