Threaded View

  1. #1
    Sencha Premium Member
    Join Date
    Aug 2012
    Posts
    10
    Vote Rating
    0
    timmc_basis is on a distinguished road

      0  

    Default Unanswered: Swap out tools in a panel header?

    Unanswered: Swap out tools in a panel header?


    I have a panel whose contents may be swapped out from time to time, and the tools in the panel's header must change along with the contents. There doesn't seem to be a way to ask for the tools to be rebuilt, or to add or insert tools at random.

    The best approach I've come up with so far is to save off the existing collection of tools (just the close button, for now) when the panel is first created. Then, every time I need to update the header, I would rebuild a tools array from that + whatever new tools need to be there, then call .updateHeader(). Is there anything more idiomatic/future-proof than that?

    ETA: For that matter, I can't figure out how to remove the existing tools.
    Last edited by timmc_basis; 2 Oct 2012 at 1:17 PM. Reason: eta: removal?

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar