After much discussion, I decided to switch to jsTree version 1.
In jqGrid I added an event
afterInsertRow: function (rowid, rowdata, rowelem) {
$("#" + rowid).addClass('jstree-draggable');
},
Then I added the dnd plugin for jstree, which allows you to drag and drop all external elements with class "jstree-draggable" into the tree with the event "drag_finish": function (data) {}in jsTree.
jsTree 1 - , 1, , , . , 1.