Hi,
I am using the filter on a ListGrid.
In SC8, the "params" is more complicated than I need. Is there a way to make it just a simple params option like it was in version 6.5?
See JSON request below triggered by the filter.
I'd like params to just be the name/value pairs, without the operator/criteria additions.
Thanks.
SmartClient Version: SC_SNAPSHOT-2011-01-06/LGPL Deployment (built 2011-01-06)
I am using the filter on a ListGrid.
In SC8, the "params" is more complicated than I need. Is there a way to make it just a simple params option like it was in version 6.5?
See JSON request below triggered by the filter.
I'd like params to just be the name/value pairs, without the operator/criteria additions.
Thanks.
Code:
{
"actionURL":"/gbs/data/restDS.php",
"showPrompt":true,
"prompt":"Finding records that match your criteria...",
"transport":"xmlHttpRequest",
"useSimpleHttp":true,
"promptStyle":"dialog",
"params":{
"operator":"and",
"criteria":[
{
"fieldName":"contract_name",
"operator":"iContains",
"value":"ABC"
}
],
"isc_metaDataPrefix":"_",
"isc_dataFormat":"json"
},
"httpMethod":"GET",
"sendNoQueue":true,
"bypassCache":true,
"callback":{
"target":[GbsRestDataSource ID:contractRestDS]
},
"willHandleError":true,
"serverOutputAsString":true,
"clientContext":{
"requestIndex":2
},
"data":null
}
SmartClient Version: SC_SNAPSHOT-2011-01-06/LGPL Deployment (built 2011-01-06)
Comment