SMART datagrid v.1 > Classes > BarCellRenderer
It specifies whether to display the cell value as text. The text is drawn by the font properties of GridStyles and GridStyles.foreground.
Defaults to false.
var columns = [{
name: "Quantity",
fieldName: "quantity",
width: 60,
header: {
"text": "Quantity"
},
renderer: {
type: "bar",
minimum: 0,
maximum: 1000,
showLabel: true
}
},
...
];
grid.setColumns(columns);
}