You must detect what row is selected and then decide if to enable or disable the button.
$('#ZZOGrid').datagrid({
rowStyler: function(){...},
onSelect: function(index,row){
if (row.STATUS == 'arhiviran'){
$('#btnBrisanje').linkbutton('disable');
} else {
$('#btnBrisanje').linkbutton('enable');
}
}
})