Column not editable

How to dynamically make a datatable column not editable (without reloading the page) ?

It’s impossible ?

You can block editor opening by using the onBeforeEditStart event:

dataTable.attachEvent("onBeforeEditStart", function(id){
    var row = id.row;
    var column = id.column;
    if( /* any condition */ ){
        return false;
    }
    return true;
});

Thanks, it works