Hello,
I am not sure about which demo that you are referring to. But, you can use custom skin for styling the treeview, based on your requirement.
Here is the documentation which describes how to create custom skin for treeview control.
Tutorial: Creating a Custom Skin
Understanding the Skin CSS File
CSS Skin File Selectors
Hope this help you.
-Shinu.