Fix Gridx Persist module not show additional columns after restore

Web UI: https://csnext.ibm.com:8002/jazz/resource/itemName/c

Id:            8462
Summa
Team Area:     Grid team / IBM Dojo Toolkit Public
Filed Against: gridx
Status:        New

Hai Feng Yao <yaohaif@cn.ibm.com> created on Oct 26, 2012 at 9:45:56 AM ET:

Summary:      Gridx Persist module can not show additional columns after restore
Status:       New
Description:  The scenario is:
              1. Use gridx with persist module. First time, using the gridx to show 10 columns, our backend data model table has many columns
              2. In our UI, we can select the table's columns to show, now, we select one or two additional columns to be showed in that gridx

              Result:
              I can only see 10 columns being showed after step 2.

              After digging to the code, it seems that gridx/modules/Persist.js _restoreColumnState() function would only restore the columns in the persist storage.
              We can override this code in our subclass module, but it seems that's not the expected default behavior of the gridx Persist module.
Found In:     IDX 1.2 - IBM One UI Dojo Extensions Toolkit
Project Area: IBM Dojo Toolkit Public
Filed Against:gridx
Owned By:     Xiao Wen Zhu
Subscribed By:
    added:
              Hai Feng Yao
Functional Area:Development

You are receiving this mail because you are owner [o] of this work item

Web UI: https://csnext.ibm.com:8002/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/8462

Id:            8462
Summa
Team Area:     Grid team / IBM Dojo Toolkit Public
Filed Against: gridx
Status:        New

Hai Feng Yao <yaohaif@cn.ibm.com> created on Oct 26, 2012 at 9:45:56 AM ET:

Summary:      Gridx Persist module can not show additional columns after restore
Status:       New
Description:  The scenario is:
              1. Use gridx with persist module. First time, using the gridx to show 10 columns, our backend data model table has many columns
              2. In our UI, we can select the table's columns to show, now, we select one or two additional columns to be showed in that gridx

              Result:
              I can only see 10 columns being showed after step 2.

              After digging to the code, it seems that gridx/modules/Persist.js _restoreColumnState() function would only restore the columns in the persist storage.
              We can override this code in our subclass module, but it seems that's not the expected default behavior of the gridx Persist module.
Found In:     IDX 1.2 - IBM One UI Dojo Extensions Toolkit
Project Area: IBM Dojo Toolkit Public
Filed Against:gridx
Owned By:     Xiao Wen Zhu
Subscribed By:
    added:
              Hai Feng Yao
Functional Area:Development

You are receiving this mail because you are owner [o] of this work item

Web UI: https://csnext.ibm.com:8002/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/8462

Id:            8462
Summary:       Gridx Persist module can not show additional columns after restore
Team Area:     Grid team / IBM Dojo Toolkit Public
Filed Against: gridx
Status:        New

Hai Feng Yao <yaohaif@cn.ibm.com> created on Oct 26, 2012 at 9:45:56 AM ET:

Summary:      Gridx Persist module can not show additional columns after restore
Status:       New
Description:  The scenario is:
              1. Use gridx with persist module. First time, using the gridx to show 10 columns, our backend data model table has many columns
              2. In our UI, we can select the table's columns to show, now, we select one or two additional columns to be showed in that gridx

              Result:
              I can only see 10 columns being showed after step 2.

              After digging to the code, it seems that gridx/modules/Persist.js _restoreColumnState() function would only restore the columns in the persist storage.
              We can override this code in our subclass module, but it seems that's not the expected default behavior of the gridx Persist module.
Found In:     IDX 1.2 - IBM One UI Dojo Extensions Toolkit
Project Area: IBM Dojo Toolkit Public
Filed Against:gridx
Owned By:     Xiao Wen Zhu
Subscribed By:
    added:
              Hai Feng Yao
Functional Area:Development

You are receiving this mail because you are owner [o] of this work item