SmartClient object always have extra data

时间:2015-12-14 18:04:20

标签: smartclient

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.

Please find attached image, I marked it with blue.enter image description here

1 个答案:

答案 0 :(得分:0)

ListGrid.getCriteria不会检索额外信息。尝试评估

  

isc.JSON.encode(grid.getCriteria())

我得到类似的东西:

"{
    "_constructor":"AdvancedCriteria", 
    "operator":"and", 
    "criteria":[
        {
            "fieldName":"isCanvasAPI", 
            "operator":"notEqual", 
            "value":true, 
            "_constructor":"AdvancedCriteria"
        }
    ]
}"