SMART datagrid v.1 > Classes > GridStyles

Back  Forward

DataLudi.GridStyles.shapeAlignment  property

It specifies the way of aligning the shape in the cell which additionally displays the shape by Alignment constant. 

Getter
function shapeAlignment(): Alignment
Setter
function setShapeAlignment(value: Alignment)
Code -1
    column.setStyles({
        shapeAlignment: DataLudi.Alignment.CENTER
    });
See Also
Aligment
shapeLocation
shapeOffset
shapePadding
Styles Overview
Examples
Shape Cell Renderer
Column Styles