TreeGrid Random Parent ID

I am using the treegrid to maintain a data hierarchy. I have enabled drag and drop and dataprocessor and there is an intermittent problem occurring. When I drag one node under another node most of the time, the parent id updates to the correct value, but once every few drags, the parent ID gets set to an arbitrarily large value that does not exist in my tree.

Is this a known bug? If so, what’s the work around?

Actually it is not a bug. To prevent items with identical ids, after drag-and-drop grid changes id of the row to the random. If you are using connectors on server side, you need not care about client side ID for the new rows, such ID will be automatically replaced with ID from DB, after data saving.