SMART datagrid v.1 > Classes > ButtonCellRenderer
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.
var columns = [{
name: "column1",
renderer: {
type: "button",
textVisible : false
}
},
...
];
grid.setColumns(columns);
$("#changeVisible").click(function () {
var col = grid.columnByName('column1');
col.setRenderer({
textVisible : false
});
});