SmartClient Version: v10.0p_2014-11-04/EVAL Development Only (expires 2015.01.03_18.46.24) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)
Safari, Chrome on OSX
Please modify the #columnOrder sample in the showcase like this:
clicking on the icons doesn't call valueIconClick
Safari, Chrome on OSX
Please modify the #columnOrder sample in the showcase like this:
Code:
isc.ListGrid.create({
ID: "countryList",
width: 500, height: 224, alternateRecordStyles: true,
data: countryData,
getValueIcon: function (field, value, record) {
if (field.name === 'countryCode') {
return "flags/16/" + value + ".png"
} else {
return null;
}
},
fields: [
{ name: "countryCode", type: "icon", title: "Flag", width: 40, align: "center",
showValueIconOnly: true,
valueIconClick: function (viewer, record, recordNum, field, rawValue, editor) {
isc.logEcho('click')
}
},
{name: "countryName", title: "Country"},
{name: "capital", title: "Capital", showIf: "false"},
{name: "continent", title: "Continent"}
]
})
Comment