dhtmlx グリッドに新しい行を追加して、on-cell-editor を実行したいと思います。のように提供されるいくつかの機能がありますが、私には機能selectCell
しません。セルは選択されていますが、エディターが表示されていないかトリガーされていません。
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
この問題を解決するにはどうすればよいですか?