support name and text in tree data source