I know this is an old thread, but how do you enable/disable the button within the datagrid/treegrid?
I have my formatter create the button
function buttonFormatter(buttonText, row, ca) {
return '<a href="#" id="btn' + row.id + '" class="e-linkbutton" data-options="width:57">' + buttonText + '</a>';
}
but when I go to disable the button with the following code, nothing happens
$('#btn' + row.id).linkbutton('disable');
Any help would be appriciated.
Thank you.