Hide Window Header

  1. #1

    Hide Window Header

    Hi Sir,

    Good Morning..

    I don't want show the header of the shortcut window or any window based on some condition and tried to set the "header is false" in Ext.Net example it self and same issue Im facing in my application as well.

    Below code is Ext.Net Example

     <ext:DesktopModule ModuleID="notepad">
                        <Shortcut Name="Notepad" IconCls="x-notepad-shortcut" SortIndex="2" />
                       <%-- <Launcher Text="Notepad" Icon="ApplicationForm" />--%>
                        <Window>
                            <ext:Window runat="server"
                                Title="Notepad"
                                Width="750"
                                Height="400"
                                Icon="ApplicationForm"
                                AnimCollapse="false"
                                Border="false"
                                HideMode="Offsets"
                                Header="false"
                                Layout="FitLayout"
                                CloseAction="Destroy">
                                <Items>
                                    <ext:HtmlEditor
                                        runat="server"
                                        Text="Some <b>rich</b> <font color='red'>text</font> goes <u>here</u><br>Give it a try!" />
                                </Items>
                            </ext:Window>
                        </Window>
                    </ext:DesktopModule>
    Attached error in screenshot when I tried to open the window through notepad shortcut.


    Is there any option to hide the complete header in window.


    Thank you,
    Vamsi.
    Attached Thumbnails Click image for larger version. 

Name:	Header.jpg 
Views:	98 
Size:	91.0 KB 
ID:	25426  
  2. #2
    Could you please reply on this.


    Thank you,
  3. #3
    Hello Vamsi!

    Please give us up to 1 business day to reply your inquiries. We will do our best to reply in less time than that, but sometimes investigation on the issue demands extra time to give you a better answer, or we simply are not around by the time the question is made.

    Back to topic, you should disable some window functionalities if you want to disable the header as well. It would be smart if Ext JS just realized it by itself, but it seems the initial design favored less tests against an unlikely scenario (window without header) probably to have an improved performance, or simply because they can be disabled elsewhere.

    These are some features you should disable along with Header="false":

    closable="false"
    Draggable="false"
    Maximizable="false"
    Minimizable="false"
    At first, the only required is Maximizable="false" but all the others being explicitly specified will likely save you the risk of having script errors later on.

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Hide the edge of a panel header
    By billy in forum 2.x Help
    Replies: 7
    Last Post: Dec 04, 2012, 2:08 PM
  2. [CLOSED] how to hide panel header
    By kenanhancer in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Jan 05, 2011, 8:35 AM
  3. Hide GridPanel Header
    By ShivaKumar in forum 1.x Help
    Replies: 2
    Last Post: May 04, 2010, 11:25 AM
  4. gridpanel: hide column header
    By pintun in forum 1.x Help
    Replies: 2
    Last Post: Sep 23, 2009, 11:53 AM
  5. [CLOSED] GridPanel Hide Header?
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 16, 2008, 6:43 PM

Posting Permissions