Hi,
This is slightly modified showcase example https://www.smartclient.com/smartcli...checkboxSelect
Grid without checkbox select looks like:
Press Checkbox on button and Grid with checkbox select looks like:
You can see that code (Flag) column is now inexplicably wide.
We have above problem in our application and noticed that it is related to the ListGrid.autoFitFieldWidths=true feature.
Thanks,
MichalG
This is slightly modified showcase example https://www.smartclient.com/smartcli...checkboxSelect
Code:
isc.ListGrid.create({ ID: "countryList", width:800, height:224, alternateRecordStyles:true, data: countryData, selectionAppearance:"rowStyle", fields:[ {name:"countryCode", title:"Flag", width:30, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"}, {name:"countryName", title:"Country"}, {name:"capital", title:"Capital"}, {name:"continent", title:"Continent"} ], selectionUpdated: "selectedCountries.setData(this.getSelection())", autoFitFieldWidths: true }) isc.IButton.create({ left:0, top:240, title:"Checkbox on", click:"countryList.setSelectionAppearance('checkbox');" }) isc.IButton.create({ left:130, top:240, title:"Checkbox off", click:"countryList.setSelectionAppearance('rowStyle');" })
Press Checkbox on button and Grid with checkbox select looks like:
You can see that code (Flag) column is now inexplicably wide.
We have above problem in our application and noticed that it is related to the ListGrid.autoFitFieldWidths=true feature.
Thanks,
MichalG
Comment