Announcement

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

    Unfreezing listgrid columns

    Run the sample below. Freeze "Category" column. The column will move to the left. Now unfreeze the column. The column stays where it was moved. Is there any way to move it back to where it was originally before freezing?

    Code:
    found in sample - isomorphic/system/reference/SmartClient_Explorer.html#simpleFreeze
    
    
    isc.ListGrid.create({
        ID: "supplyList",
        width:500, height:224,
        dataSource: supplyItem,
        autoFetchData: true,
        fields:[
            {name:"itemName",width:150},
            {name:"category", width:100},
            {name:"SKU", width:100},
            {name:"units", width:80},
            {name:"description", width:250}
        ]
    })

    #2
    You would need to store off the original position and restore it yourself, however, consider first why we didn't do this: other columns may have been rearranged, hidden or shown while the frozen column was frozen, and it's not clear in that case what position to restore to, or even if restoring a position is desirable.

    Comment


      #3
      I see. Thanks.

      Comment

      Working...
      X