As you described in your
dhtmlXGrid-Guide, I created a new Cell Editor.
This is working well, but I have got one
The eventhandler, which is set with
grid.setOnCellChanged(), is not be called anymore, when something is changed
with this new cell-editor.
I tried everything, which seems usefull:
- Overwirting the function wasChanged()
- Setting the value wasChanged to true
But I got no positive result.
I suppose, hat there is another trick, to tell the
handler that something has changed in this cell.
To make you editor working with global
setOnCellChanged editor, you need to use setCValue method instead of manual
setting of innerHTML in setValue method.
You can check in existing dhtmlxGridCell.js file for
any excell type.
The setValue works in next way
first parameter - HTML representation of value
second parameter (optional) - real value
This call need to be done, only if you need onCellChanged handler, and
can be ignored in other situations