1. #1
    Ext User
    Join Date
    Sep 2008
    Posts
    2
    Vote Rating
    0
    avialle is on a distinguished road

      0  

    Question closable panel or NOT floating window???

    closable panel or NOT floating window???


    hi

    i need a panel, which shows the close button and doesn't float. unfortunately panel doesn't have the config-option "closable" and window doesn't have the config-option "floating", so i could set it false. if i use the config-option "floating" anyway in window, i get a nice javascript error ("this.el.setZIndex is not a function").

    how else could i solve this? maybe by adding the close-button manually? but there's of course no method close() either in panel!?

    thanks for your help!

    avialle

  2. #2
    Ext User santosh.rajan's Avatar
    Join Date
    Sep 2007
    Location
    Kannur, Kerala, India
    Posts
    611
    Vote Rating
    0
    santosh.rajan is on a distinguished road

      0  

    Default


    you can hide() the panel
    Make everything as simple as possible, but not simpler.
    - Albert Einstein

  3. #3
    Ext User
    Join Date
    Sep 2008
    Posts
    2
    Vote Rating
    0
    avialle is on a distinguished road

      0  

    Default


    thanks for the suggestion.
    i now used ext.Panel and placed a tool (id:'close') in the panel's tools. when the button is clicked the panel is hidden.

Thread Participants: 1