SMART datagrid v.1 > Classes > ButtonCellRenderer

Back  Forward

DataLudi.ButtonCellRenderer.imageDisplay  property

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

Defaults to ImageDisplay.CENTER.

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