After replacing the old version of dhtmlx with version 3.5 grids and trees no longer work as they did.
Grid connector gives me this error:
Declaration of GridConnector::fill_collections() should be compatible with that of Connector::fill_collections()
The very same code was working with the old version of Dhtmlx
If I go back to the old version then everything works like a charm.