SMART datagrid v.1 > Examples

Back  Forward

Shape Cell Renderer  Example

ShapeCellRenderer displays the shape specified through GridStyles.shapeName in the location specified through shapeLocation. The default value is LEFT_SIDE. You can use the styles like shapeRotate and the renderer properties like scaleX to display the shape in various ways. Please refer to ShapeCellRenderer help topic about the types of displayable shape. 

Grid - 1
rows
Shape location in 'Unit' column:

Change shapeRotate and scaleX of 'currency' column. 

View Source JSP 

See Also
ShapeCellRenderer
GridStyles
ValueColumn.renderer
DataCellRenderer
Examples
CellRenderers