Description:
Setting the properties "booleanFalseImage" and "booleanTrueImage" does not work (as expected) in SC10.
1. Smartclient versions: 9.0_20130729 / 10.0_20141202
2. IE 9-10 / FF 32-34
6. sample code if applicable
Based on the examples:
SC 9 [Working] : http://smartclient.com/docs/9.0/a/sy....types_Boolean
SC 10[Not working] : http://www.smartclient.com/docs/rele...taTypesBoolean
The code on both the examples (versions of SC) as below:
Note: only added booleanFalseImage: "pieces/16/star_yellow.png" to the original example
Edit: Additional info
SC9 html
SC10 html
Setting the properties "booleanFalseImage" and "booleanTrueImage" does not work (as expected) in SC10.
1. Smartclient versions: 9.0_20130729 / 10.0_20141202
2. IE 9-10 / FF 32-34
6. sample code if applicable
Based on the examples:
SC 9 [Working] : http://smartclient.com/docs/9.0/a/sy....types_Boolean
SC 10[Not working] : http://www.smartclient.com/docs/rele...taTypesBoolean
The code on both the examples (versions of SC) as below:
Note: only added booleanFalseImage: "pieces/16/star_yellow.png" to the original example
Code:
isc.ListGrid.create({
ID: "countryList",
width:500, height:224, alternateRecordStyles:true,
canEdit:true, editEvent:"click", modalEditing:true, booleanFalseImage: "pieces/16/star_yellow.png",
data: countryData,
fields:[
{name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png", canEdit:false},
{name:"countryName", title:"Country"},
{name:"member_g8", title:"G8",
type: "boolean"
}
]
})SC9 html
Code:
<div style="overflow:hidden;text-overflow:ellipsis;WIDTH:18px;" cellclipdiv="true" role="presentation"><nobr><img width="13" height="13" border="0" align="TEXTTOP" suppress="TRUE" class="checkboxFalse" style="margin-left:2px;margin-right:2px;" eventpart="valueicon" src="http://smartclient.com/docs/9.0/a/system/reference/exampleImages/pieces/16/star_yellow.png"></nobr></div>Code:
<div style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;WIDTH:18px;" cellclipdiv="true" role="presentation"><span class="checkboxFalse" eventpart="valueicon" style="display:inline-block;background-size:100% 100%;background-image:url("http://www.smartclient.com/docs/release/a/system/reference/exampleImages/pieces/16/star_yellow.png");width:13px;height:13px;vertical-align:text-top;margin-left:2px;margin-right:2px"></span></div>