Unfortunately it is not available to crate a treegrid component on the snippets.dhtmlx.com as treegrid is available in PRO version of the dhtmlxSuite, while the sources of the STD version are used in the snippets.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan