2016-11-18 20 views

回答

1

您可以使用改動後的鉤狀這個例子JSFiddle

hot.addHook('afterChange', function(changes, source) { 
    if (changes != null) { 
    changes.forEach(function(item) { 
     if (hot.propToCol(item[1]) == 1) { 
     hot.setDataAtCell(item[0], 3, item[3]); 
     } 
    }); 
    } 
}), hot; 
+0

是它的工作不錯感謝 – Rajiv

+0

不客氣;)你能驗證我的答案嗎? –