I am using gwt2.3 and Smartgwt 2.4 and both FireFox 11 and IE 7.
Here is my code.
// grid was defined as ListGrid
String occCriteriaStage = (String) Offline.get("occCriteria");
grid.setCriteria(new Criteria(JSON.decode(occCriteriaStage)));
In runtime, i.e. when I restarted IE or Firefox, I got occCriteriaStage as below.
{
"operator":"and",
"_constructor":"AdvancedCriteria",
"criteria":[
{
"fieldName":"occStageId",
"operator":"iContains",
"value":"52"
},
{
"fieldName":"statusCd",
"operator":"equals",
"value":"PENDING"
},
{
"_constructor":"AdvancedCriteria",
"operator":"and",
"criteria":[
{
"fieldName":"assignedDtTm",
"operator":"greaterOrEqual",
"value":"2012-05-01T04:00:00"
}
]
}
]
}
which is correct. The problem is that the Date filter editor dose not show any value while the other two show. Note that the grid seems still filtering correctly based on the date criteria but just NOT show its criteria on its filter editor. Can you please advice how to fix it?
Thanks,
Deqing
Here is my code.
// grid was defined as ListGrid
String occCriteriaStage = (String) Offline.get("occCriteria");
grid.setCriteria(new Criteria(JSON.decode(occCriteriaStage)));
In runtime, i.e. when I restarted IE or Firefox, I got occCriteriaStage as below.
{
"operator":"and",
"_constructor":"AdvancedCriteria",
"criteria":[
{
"fieldName":"occStageId",
"operator":"iContains",
"value":"52"
},
{
"fieldName":"statusCd",
"operator":"equals",
"value":"PENDING"
},
{
"_constructor":"AdvancedCriteria",
"operator":"and",
"criteria":[
{
"fieldName":"assignedDtTm",
"operator":"greaterOrEqual",
"value":"2012-05-01T04:00:00"
}
]
}
]
}
which is correct. The problem is that the Date filter editor dose not show any value while the other two show. Note that the grid seems still filtering correctly based on the date criteria but just NOT show its criteria on its filter editor. Can you please advice how to fix it?
Thanks,
Deqing
Comment