Drag and drop item to the highest level

Already build the db-driven drag and drop between nodes. How can i move an item to the highest level? (ParentID = 0)

If you drag node on empty space of grid ( or on grid headers zone ) - it will be dropped as top level item.
Also if you set drag behavior to “sibling” or “complex” - node can be draged on top as sibling of any other top level items.

In case of API operations - node can be moved on top level as
    grid.moveRowTo(item_id,0,“move”,“child”);