Treegrid selection weird behaviour

If you have selected a row via mouse click and then add new rows to the grid the selection starts “dancing” and random rows from the grid get selected.

This is really frustrating and impossible to work with the grid when u have an opened socket and fetching data from the backend. The more new rows are being added to the grid the more the the selection “dances” through the grid rows.

Could you please, provide a complete demo or a demo link, where the problem can be reconstructed locally.
The following snippet according to your description works well for me:
https://snippet.dhtmlx.com/j0y4g13z