0
私は行がhandsontableのcellPropertiesはどのように機能しますか? handsontableで
cells: function(row, col, prop) {
var cellProperties = {};
if (row === 1) {
cellProperties.readOnly = true;
}
return cellProperties;
}
を読み取り専用に設定したいとき、よくコラム
cells: function(row, col, prop) {
var cellProperties = {};
if (prop === 'id') {
cellProperties.readOnly = true;
}
return cellProperties;
}
これらの作品を設定するときにはどのようにJS動作しますか?私は割り当てや呼び出しを見ないからです。