SMART datagrid v.1 > Classes > ShapeCellRenderer
If specify as false, it will not display the text but only display the shape.
When GridStyles.shapeLocation is CENTER, the text will not be displayed either.
Defaults to true.
grid.setColumns([{
name: "Quantity",
fieldName: "Quantity",
type: "data",
width: 70,
renderer: {
type: "shape",
textVisible: false
},
styles: {
textAlignment: "far"
},
dynamicStyles: [{
expression: "value > 40",
styles: {
shapeName: "star",
shapeColor: "#ff00ffcc",
shapeLocation: "center"
}
}],
header: {
text: "Quantity"
}
},
...
]);