SMART datagrid v1.4 > Classes > CustomButton
버튼의 enable, disable 상태를 리턴하는 콜백 함수.
grid.setColumns([{
name: "colDesc",
customButtons: [{
visibility: DataLudi.ButtonVisibility.ALWAYS,
enabledCallback: function (index) {
return false;
},
imageUrl: 'images/add_up.png',
hoverUrl: 'images/add_up.png',
downUrl: 'images/add_down.png'
}, {
},
...
]
},
...
]);