The following code renders images correctly in the ListGrid:
However, adding formatCellValue() makes images disappear and only actual string values to be shown instead:
In this example countryFormat() only returns the same value but still images are not getting rendered.
Reproducible on all major browsers (IE, FF, Chrome).
Smartclient 8.2 Pro (SmartClient_v82p_2012-05-21_Pro).
Also, is it possible to display two or three images in a single grid cell?
Thanks,
- Gene
Code:
{name:"country_abbr",title:"Country",type:"image",imageURLPrefix:"../images/countries/",imageURLSuffix:".gif",width:50},
Code:
function countryFormat(value){ return value; //for the purpose of this test case, this function does nothing, just returns the same value } {name:"country_abbr",title:"Country",formatCellValue:"countryFormat(value)",type:"image",imageURLPrefix:"../images/countries/",imageURLSuffix:".gif",width:50},
Reproducible on all major browsers (IE, FF, Chrome).
Smartclient 8.2 Pro (SmartClient_v82p_2012-05-21_Pro).
Also, is it possible to display two or three images in a single grid cell?
Thanks,
- Gene