This page tests auto-expansion of tree grids.

NOTE: it is strongly recommended that you only automatically expand for synchronous stores (or at least, stores which aren't going back to the server for each child request); otherwise you are likely to put a significant strain on your server, and the performance of the client will suffer as a result.

Auto-expanding tree grid, asynchronous store

Auto-expanding tree grid, synchronous store