In this sample the Tree Custom Element is displayed in Right-to-Left mode. To display the widget in Right-to-Left mode, you need to set its "rtl" property to true.