Announcement

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

    Drag resize a column fixes size of all columns

    In the SC9 feature explorer

    http://smartclient.com/docs/9.0/a/system/reference/SmartClient_Explorer.html#columnSize

    update the code to set the listgrid width and height to 100%
    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:"100%", 
        height:"100%", 
        alternateRecordStyles:true,
        data: countryData,
        fields:[
            {name:"countryCode", title:"Flag", width:50,
                  type:"image", imageURLPrefix:"flags/16/",
                  imageURLSuffix:".png"},
            {name:"countryName", title:"Country"},
            {name:"capital", title:"Capital"},
            {name:"continent", title:"Continent"}
        ],
        canResizeFields: true
    })
    When you 'try it', resize your browser window to observe the column widths resize with the grid. Then drag resize one of the columns. After this, all the column widths become fixed and do not resize as the browser window is resized.

    This is a regression since SC8.3. Is there a fix/setting I can use to make sure only the drag resized column width becomes fixed?

    regards,


    Colin.

    #2
    I would also like to know if there is a way to fix only the dragged column.

    Many thanks,
    Alex

    Comment


      #3
      We've made a change to revert to the 8.3 behavior whereby if you explicitly resize the grid as a whole after drag-resizing a field, field sizes are recalculated any "*" or percent sized fields which were not themselves dragged

      Regards
      Isomorphic Software

      EDIT: Note that this change will be present in the next nightly build, dated Aug 16 or above, on the 9.0 / 9.1 branch, or for SGWT users, 4.0 / 4.1 branch

      Comment


        #4
        Thanks

        Thanks for this, it's quite an issue for my company. May I ask when we're likely to see this in an official release?

        Comment

        Working...
        X