0
在handsontable當我想設置的行爲只讀handontable的cellProperties如何工作?
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的工作?因爲我沒有看到任何任務或調用任何功能。