SMART datagrid v.1 > Classes > BarCellRenderer
The maximum value among the range of values which will be displayed with the bar. The width of bar is determined by the percentage of cell value about the range of this value and minimum value.
Defaults to 100.
var columns = [{
name: "Quantity",
fieldName: "quantity",
width: 60,
header: {
"text": "Quantity"
},
renderer: {
type: "bar",
minimum: 0,
maximum: 1000
}
},
...
];
grid.setColumns(columns);
}