SmartClient Version: v9.0p_2013-12-10/PowerEdition Development Only (built 2013-12-10)
please try this code in the showcase:
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
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, 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
Comment