Results 1 to 5 of 5

Thread: Title Collapse works fine, but not Title EXPAND!

  1. #1
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Connecticut
    Posts
    1,003
    Answers
    12

    Default Title Collapse works fine, but not Title EXPAND!

    When the panel is collapsed, it will ONLY expand when I click on the double arrow. Is there a way to make it work like collapse (i.e. click anywhere on the collapsed title bar?)

    Thanks

    Bruce

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    It seems to work for me using the example below. Do you have a test case which isn't working?
    Code:
    Ext.create('Ext.panel.Panel', {
        title: 'Hello',
        width: 200,
        html: '<p>World!</p>',
        titleCollapse: true,
        collapsible: true,
        renderTo: Ext.getBody()
    });

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Connecticut
    Posts
    1,003
    Answers
    12

    Default This seems to work SOME of the time.

    I am not sure why, but some panels will expand when I click on the title, some don't. Is there a work around I can do to make all collapsed titles allow user to click to expand?

    Thanks
    Bruce

  4. #4
    Sencha Premium Member
    Join Date
    Jul 2013
    Location
    Moscow, Russia.
    Posts
    239
    Answers
    4

    Default

    I run into the same problem. In my case when layout is "border" it is collapsing but does not expanding. Has anybody came across this problem?

    ***Updated

    I've found out that this happens only when "collapsMode" is set to 'header'. When it isn't set at all, expanding works.

  5. #5
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •