SMART datagrid v1.4 > Classes > CustomButton

[ grids ver.1.4.0]   Back  Forward

DataLudi.CustomButton.imageWidth  property

기본값은 16.

Getter
function imageWidth(): Integer
Setter
function setImageWidth(value: Integer)

Custom 버튼에 표시되는 이미지의 너비. 

기본값은 16.

Getter
function imageWidth(): Integer
Setter
function setImageWidth(value: Integer)
Code -1
    grid.setColumns([{
        name: "colDesc",
        customButtons: [{
            imageWidth: 24,
            imageUrl: 'images/add_up.png',
            downUrl: 'images/add_down.png',
            hoverUrl: 'images/add_hover.png',
            ...
        },
    ...
    }]);
See Also
visibility
imageUrl
downUrl
hoverUrl
callback
displayCallback
GridBase.onCellButtonClicked
Examples
Custom Buttons
DataCell Buttons