View Full Version : How to remove header in TreePanel

Apr 27, 2021, 10:01 PM
Hi - is there a way to remove/hide the header on the top of the TreePanel? Please find the screenshot below.


Apr 28, 2021, 9:32 PM
Hello @adham, and welcome to Ext.NET forums!

By the theme I suppose you are using Ext.NET 7 with non-rounded-corners' settings Spotless theme, right? I will go ahead and move your thread to Ext.NET 7 Classic forums.

To me, the extra artifact you are getting is Accordion Layout splitter, which shouldn't show in tree panels unless you explicitly determine so.

Check these examples with a tree panel and accordion layout so you can tell the two concepts apart:
- Tree Panel without this artifact: Tree Panel - Built in Markup (https://examples.ext.net/#/treepanel/basic/built_in_markup)
- The accordion layout in action: Accordion layuout - Built in Markup (https://examples.ext.net/#/layout/accordion/basic_in_markup)

When asking questions, it helps if you can provide simple test cases for us to reproduce what you see; this way we can pinpoint solutions and alternatives for you to resolve it. So if the info above still doesn't help, please consider providing a test case.

Hope this helps!