Editable grid excelltype in cell of parent grid

Hello,



I’m am using a grid excelltype in a cell of another grid. When I double the cell the other grid appears and I can navigate the tree. This works perfectly.



What I would like to do is be able to edit the text in the parent grid cell. Right now, whatever I select in the child grid becomes the text in the parent grid cell. That is what I would also like to be able to edit.



Similar operation as if the parent grid cell was a ‘co’ excelltype.



Thank you for any help.

To implement such behavior code of excell need to be slightly modified
Please try to use attached js file instead of original one.

dhtmlxgrid_excell_grid.zip (877 Bytes)

That worked perfectly. Thank you.

Hello. After more testing I found that when I add a new row using grid.addRow() and I double click the grid cell, the value in it is erased.

This is different than when I load it from an XML file. When I double click the grid cell in this case, the value remains so I can just change it or append some text.

Is there a way to preserve the text value in the grid cell when double clicking it when the row was added using addRow()?

Thanks.

The issue can’t be reconstructed locally. The rows added by addRow works the same as one loaded from XML
If problem still occurs for you - please provide any kind of sample where issue can be reconstructed ( you can send it directly to support@dhtmlx.com )