SMART datagrid v.1 > Classes > GridStyles

Back  Forward

DataLudi.GridStyles.iconOffset  property

It specifies the space between the icon and cell border in the cell which additionally displays the image icon. 

Getter
function iconOffset(): Integer
Setter
function setIconOffset(value: Integer)
Code -1
    column.setStyles({
        iconOffset: 2
    });
See Also
IconLocation
iconIndex
iconAlignment
iconPadding
iconAlpha
IconCellRenderer
CheckCellRenderer
Styles Overview
Examples
Icon Cell Renderer
Column Styles