×

Please give details of the problem

Skip to content

How to make an array column inactive

/**  
  id_array: element itself, not string
  id_column: as a string
*/

function unactive_column(id_array, id_column) {
    var rows_count = id_array.getRowsCount();
    for (var i = 0; i < rows_count; i++) {
        id_array[id_column][i].setActive(false);
    }
}

unactive_column(id_array,"id_column");

Example