SMART datagrid v.1 > Classes > IconCellRenderer
If specify as false, it will not display the text but only display the icon. When GridStyles.iconLocation is CENTER, the text will not be displayed either.
Defaults to true.
grid.setColumns([{
name: "Country",
fieldName: "Country",
width: "80",
imageList: "images1",
renderer: {
type: "icon",
textVisible: false
},
dynamicStyles: "iconStyles2",
styles: {
iconIndex: 0,
iconLocation: "left",
iconAlignment: "center",
iconOffset: 2
},
header: {
text: "textVisible\n=false"
}
},
...
]);