[CLOSED] Closing a Portlet

  1. #1

    [CLOSED] Closing a Portlet

    I've noticed that the ExtJS Portal sample (http://extjs.com/deploy/dev/examples/portal/portal.html) has the ability to close portlet windows, but I can't seen to reproduce this via the Coolite Portlet control. Is this functionality not currently implemented? If not, how would one go about adding it?
  2. #2

    RE: [CLOSED] Closing a Portlet

    Each Portlet is just a Panel, so setting Closable="true" should add the closing "X" tool to the Portlet.*

    Hope this helps.


    Geoffrey McGill
    Founder
  3. #3

    RE: [CLOSED] Closing a Portlet

    I'm using version 0.6.0.7019 and neither the Portlet nor the Panel class has a Closable property. Am I using an old version? Or did I misunderstand your answer?
  4. #4

    RE: [CLOSED] Closing a Portlet

    Hi,

    you can use Tools in the Portlet

       <Tools>
            <ext:Tool Type="Close" Handler="panel.ownerCt.remove(panel, true);" /> 
       </Tools>
  5. #5

    RE: [CLOSED] Closing a Portlet

    Perfect. Thanks.
  6. #6

    RE: [CLOSED] Closing a Portlet

    The Portal Example has been updated to demonstrate adding a "Close" Tool to each Portlet and trigger an AjaxEvent when the Portlet is closed/hidden, see*https://examples1.ext.net/#/Portal/Basic/Simple/

    Hope this helps.


    Geoffrey McGill
    Founder

Similar Threads

  1. Replies: 2
    Last Post: Dec 10, 2010, 2:33 PM
  2. [CLOSED] [1.0] Closing windows?
    By edigital in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Oct 05, 2010, 3:28 PM
  3. Replies: 4
    Last Post: Apr 08, 2010, 8:05 PM
  4. Replies: 0
    Last Post: Mar 03, 2010, 9:51 AM
  5. [CLOSED] hiding a Tab on closing
    By prashobkumar in forum 1.x Help
    Replies: 4
    Last Post: Dec 10, 2008, 5:03 AM

Posting Permissions