panel title

  • hi guys ,

    please look to the images , its explain what i need

    9225

    and when i collaps panel i dont see the panel title
    9226

    how can i keep showing the panel title ?

    i hope u got me

    regards


  • So you are looking for:
    collapsible: true,
    hideCollapseTool: true,
    titleCollapse: true,
    floatable: false,
    (only works if you apply this patch (http://extjs.com/forum/showthread.php?p=213053#post213053))


  • The code is ugly, but it works:
    http://tdg-i.com/30/how-to-get-titles-in-collapsed-panels-for-border-layout
    http://tdg-i.com/img/screencasts/2008-03-15_2317.png


  • hi man ,

    im using ur extension , its working very well

    but the problems is , when i press on the panel (not the arrow )

    the panel get maximized and its displaying the title twice

    and i don't want the title on the bottom to be displayed

    when i press on the arrow , its working fine

    the following image explain more

    10074


    thanks a lot


  • excuse me man ,
    its feature , but please how can i solve it ?

    regards


  • I assume you didn't want an arrow if you can already click on the title.
    If you still want the arrow you should set hideCollapseTool:false.


  • it's not a problem, it's a 'feature'.


  • Very nice, jgarcia! I've just incorporated it in my panels!

    One quick question about styling. Is there any way to apply a class to the title without using 'style'? Since the title is HTML, I can just but a span tag around my title. However, if there were a way to add to class to the outer tag, I could avoid putting the span around the element. No big deal, but just wanted to know.

    Also, is there any way to center the text without messing up the button on the right that controls the collapse and expand? I've tried using width=100% in the style of the div tag, but that makes the button disappear.

    Thanks again!

    Chad


  • i think nobody want to answer me /:) !!!


  • ok ,, how i can stop expanding if i dont press on arrows ?

    i mean when i press on the panel (not on the arrow) the panel maximize , i want the panel to be maximized when i press on the panel only


  • its working fine .. thanks

    but , i cant see the arrow !!!

    noway to see the arrow ?

    regards


  • 'The code is ugly, but it works'

    loool , you are funny

    and really thanks , i will use this ugly code as long as its help :D







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about panel title , Please add it free.