0
我試圖使用datatables.js內聯編輯器選項卡列https://editor.datatables.net/examples/inline-editing/tabControl.html和他們的示例工作正常,我似乎無法弄清楚是如何禁用一列,我不想內聯編輯?禁用列編輯datatables.js內聯編輯器選項卡列
網站上的例子
table.on('key-focus', function (e, datatable, cell) {
editor.inline(cell.index());
});
我試圖改變
table.on('key-focus', 'td.editable', function (e, datatable, cell) {
editor.inline(cell.index());
});
所以只針對TD的有類編輯..但它不工作..
無論如何,如果有人使用過,我會欣賞一個提示:) 謝謝!