I am storing advanced criteria to my database. But get criteria always fetch smartClient data as well. Is there any way to exclude those information while saving to database and atach it from browser onloading data from database. It just extra load to server in sending request and receiving response.
答案 0 :(得分:0)
ListGrid.getCriteria不会检索额外信息。尝试评估
isc.JSON.encode(grid.getCriteria())
我得到类似的东西:
"{
"_constructor":"AdvancedCriteria",
"operator":"and",
"criteria":[
{
"fieldName":"isCanvasAPI",
"operator":"notEqual",
"value":true,
"_constructor":"AdvancedCriteria"
}
]
}"