Gets a value, indicating whether the cells in the specified column can be edited.
Namespace: MindFusion.DataViews
File: ArrayModel.js
JavaScript Copy Code |
---|
function columnEditable (column) |
Number. The column index.
Boolean. True if the cells in this column can be edited, otherwise false.
The following code checks if the second column in a Grid can be edited:
JavaScript Copy Code |
---|
if(grid.model.columnEditable(1)) { //do something } |