Announcement

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

    ListGrid viewstate

    I just want to confirm that the following changes are expected for listgrid view states:

    In build 12-15-10, we observed listgrid viewstate as the following:


    Code:
    Adding Favorite  with table state: ({selected:"[\r]",field:"[\r    {\r        name:\"_cwShowDetailColumn\", \r        width:15\r    }, \r    {\r        name:\"boo_CB\", \r        width:null\r    }, \r    {\r        name:\"boo_RBH\", \r        width:null\r    }, \r   
     {\r        name:\"boo_RBV\", \r        width:null\r    }, \r    {\r        name:\"dti_DF\", \r        width:null\r    }, \r    {\r        name:\"dat_DF\", \r        width:null\r    }, \r    {\r        name:\"dec_RBH\", \r        width:null\r    }, \r   
     {\r        name:\"dec_RBV\", \r        width:null\r    }, \r    {\r        name:\"dec_SF\", \r        width:null\r    }, \r    {\r        name:\"dec_TF\", \r        width:null\r    }, \r    {\r        name:\"int_RBH\", \r        width:null\r    }, \r   
     {\r        name:\"int_RBV\", \r        width:null\r    }, \r    {\r        name:\"int_SF\", \r        width:null\r    }, \r    {\r        name:\"int_TF\", \r        width:null\r    }, \r    {\r        name:\"nRef_RF\", \r        width:null\r    }, \r    
    {\r        name:\"nRef_SF\", \r        width:null\r    }, \r    {\r        name:\"sRef_RF\", \r        width:null\r    }, \r    {\r        name:\"sRef_SF\", \r        width:null\r    }, \r    {\r        name:\"str_RBH\", \r        width:null\r    }, \r    
    {\r        name:\"str_RBV\", \r        width:null\r    }, \r    {\r        name:\"str_SF\", \r        width:null\r    }, \r    {\r        name:\"str_TF\", \r        width:null\r    }, \r    {\r        name:\"str_TA\", \r        width:null\r    }, \r    
    {\r        name:\"str_LT\", \r        width:null\r    }, \r    {\r        name:\"str_PF\", \r        width:null\r    }, \r    {\r        name:\"anyURI_HL\", \r        width:null\r    }, \r    {\r        name:\"anyURI_TF\", \r        width:null\r    }, \r    
    {\r        name:\"trans_Trans\", \r        width:null\r    }, \r    {\r        name:\"cwDocId\", \r        width:null\r    }, \r    {\r        name:\"cwDocStamp\", \r        width:null\r    }, \r    {\r        name:\"cwOrderCreationDate\", \r        width:null\r    }, \r    
    {\r        name:\"cwOrderId\", \r        width:null\r    }, \r    {\r        name:\"cwParentId\", \r        width:null\r    }, \r    {\r        name:\"lastUpdatedDate\", \r        width:null\r    }, \r    {\r        name:\"updatedBy\", \r        width:null\r    }\r]",sort:"({\r    fieldName:\"dec_TF\", \r    sortDir:false, \r    sortSpecifiers:[\r        {\r            property:\"dec_TF\", \r            direction:\"descending\"\r        }\r    ]\r})"})

    In 06-17 however, the following is the viewstate. What we are concerned with is the "\r" as we use this token for our own parsing. Was it meant to be taken out? If so, we will modify our product.

    Code:
    Adding Favorite  with table state: ({selected:"[]",field:"[{name:\"_cwShowDetailColumn\",width:15},{name:\"boo_CB\",width:null},{name:\"boo_RBH\",width:null},{name:\"boo_RBV\",width:null},
    {name:\"dti_DF\",width:null},{name:\"dat_DF\",width:null},{name:\"dec_RBH\",width:null},{name:\"dec_RBV\",width:null},{name:\"dec_SF\",width:null},{name:\"dec_TF\",width:null},{name:\"int_RBH\",width:null},
    {name:\"int_RBV\",width:null},{name:\"int_SF\",width:null},{name:\"int_TF\",width:null},{name:\"nRef_RF\",width:null},{name:\"nRef_SF\",width:null},{name:\"sRef_RF\",width:null},{name:\"sRef_SF\",width:null},
    {name:\"str_RBH\",width:null},{name:\"str_RBV\",width:null},{name:\"str_SF\",width:null},{name:\"str_TF\",width:null},{name:\"str_TA\",width:null},{name:\"str_LT\",width:null},{name:\"str_PF\",width:null},
    {name:\"anyURI_HL\",width:null},{name:\"anyURI_TF\",width:null},{name:\"trans_Trans\",width:null},{name:\"cwDocId\",width:null},{name:\"cwDocStamp\",width:null},{name:\"cwOrderCreationDate\",width:null},
    {name:\"cwOrderId\",width:null},{name:\"cwParentId\",width:null},{name:\"lastUpdatedDate\",width:null},{name:\"updatedBy\",width:null}]",sort:"({fieldName:\"dec_TF\",sortDir:false,sortSpecifiers:[{property:\"dec_TF\",direction:\"descending\"}]})",hilite:null,group:""})
    Last edited by acarur01; 4 Jul 2011, 10:39.

    #2
    Yes, thaose characters and the whitespace were intentionally removed to make the string smaller.

    Comment


      #3
      Ok. Thanks

      Comment

      Working...
      X