Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid - Date Filter Editor

    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
    Last edited by c0wande; 24 May 2012, 10:36.

    #2
    Is it an known issue? if it has been fixed already, can you tell me which release contains the fix?

    Thank you in advance,

    Deqing

    Comment

    Working...
    X