SMART datagrid v.1 > Classes > ImageCellRenderer

Back  Forward

DataLudi.ImageCellRenderer.imageDisplay  property

显示图像的方式。 通过ImageDisplay常数,进行指定。 

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
图像单元格渲染器