Announcement

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

    problem using setAutoFitMaxHeight(/Records) with autoFitData:vertical & frozen column

    SmartClient Version: v9.0p_2013-12-10/PowerEdition Development Only (built 2013-12-10)

    please try this code in the showcase:
    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:500, height:224, alternateRecordStyles:true, 
        canEdit:true, editEvent:"click", modalEditing:true,
        data: countryData,
        autoFitData:"vertical",
        fields:[
            {name:"countryCode", frozen: true, title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png", canEdit:false},
            {name:"countryName", title:"Country"},
            {name:"continent", title:"Continent",
                valueMap:["Europe", "Asia", "North America", "Australia/Oceania", "South America", "Africa"]
            }
        ]
    })
    if you call countryList.setAutoFitMaxHeight(100) or countryList.setAutoFitMaxRecords(10) you'll see that the frozen column retains its original height. Resize a column and it redraws correctly.
    If, before running setAutoFitMax..., you resize columns so that the horizontal scrollbar appears, then the problem doesn't show when calling setAutoFitMaxHeight, but only when calling setAutoFitMaxRecords
    Last edited by claudiobosticco; 17 Dec 2013, 02:01.

    #2
    We've now made a change to address this issue. Please try the next nightly build dated Dec 14 or above.
    Note that you can workaround this on older builds if you call "redraw()" on your listGrid within your application code after calling the setAutoFitMaxXXX method

    Regards
    Isomorphic Software

    Comment


      #3
      SmartClient Version: v9.0p_2013-12-14/PowerEdition Development Only

      fixed, thank you very much

      Comment

      Working...
      X