TreeGrid - bad indentations

In case if data parsed to treegrid are not sorted by levels, then indendations draws by treegrid is not good. Sample is there:
We have tree -> Africa -> Angola -> Sample Region -> Sample City
but Angola, Sample Region and Sample City have equals indendations, because in dataset are in reverse order.

If I provide correct order of dataset, then indentations are correct:

Thank you for your report. The problem is confirmed. We’ll try to fix it in one of the future updates.

Your reported problem was fixed in the latest update of the dhx.Suite (7.3).
You can check your original snippet:
Now it works properly.
Please, try to download the latest available dhx.Suite/Treegrid update to get that fix.