SMART datagrid v.1 > Classes > ButtonCellRenderer

[ grids ver.1.2.9]   Back  Forward

DataLudi.ButtonCellRenderer.textVisible  property

The property which specifies whether to display the text in button. 

If specify as false, it will not display the text in button regardless of values which have been specified in text property, etc. 

Defaults to true.

Getter
function textVisible(): Boolean
Setter
function setTextVisible(value: Boolean)
Code -1
    var columns = [{
        name: "column1",
        renderer: {
            type: "button",
            textVisible : false
        }
    },
    ...
    ];
    grid.setColumns(columns);
Code -2
    $("#changeVisible").click(function () {
        var col = grid.columnByName('column1');
        col.setRenderer({ 
            textVisible : false
        });
    });
See Also
textOnImage
textPadding
text
Examples
Image Button Renderer