1
我想添加一個新行到我的dhtmlx網格並運行on-cell-editor。有一些功能提供像selectCell
但不適用於我。該單元格被選中,但沒有編輯器可見或觸發。dhtmlx網格 - 添加新行並在單元格編輯器上啓動
function addNewGridRow()
{
// add new row with id "new" and value "New event category" as col 0 value
editEventCategoryGrid.addRow('new','<?php echo $this->translate->_('EVT_newCategorieName'); ?>');
// start editor on this cell
var nameCell = editEventCategoryGrid.cells('new',0);
nameCell.edit();
}
我試圖nameCell.edit()
並出現在編輯器,但它不會關閉在blur
像其他「正常」單元格編輯器。我該如何解決這個問題?
感謝水產 - 但我有問題,停止與此解決方案:)沒有「模糊」事件與本手冊編輯調用註冊的編輯:( – roman