Smart parsing can increase performance of the TreeGrid control when the user has lots of nodes and levels in it. This can be enabled in the following way:
treegrid.enableSmartXMLParsing(true);