SMART datagrid v.1 > Classes > ImageCellRenderer

Back  Forward

DataLudi.ImageCellRenderer.imageDisplay  property

The way of displaying the image. It is specified by ImageDisplay constant. 

Getter
function imageDisplay(): ImageDisplay
Setter
function setImageDisplay(value: ImageDisplay)
Code -1
    grid.setColumns([{
        renderer: {
            type: "image",
            imageDisplay: DataLudi.ImageDisplay.BOTH
        }
    }, 
    ...
    ];
See Also
GridStyles.background
Examples
Image Cell Renderer