Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: How to add button/link to a title bar of the Panel

  1. #11

    Default

    @dmulcahey thank for sharing above code .my panel in one Add Button, If user click on button then add new button in panel header .it's possible?thanks

  2. #12
    Sencha Premium User danguba's Avatar
    Join Date
    Feb 2009
    Location
    Kragujevac, Serbia
    Posts
    462

    Default

    Quote Originally Posted by atmiyadas2014 View Post
    @dmulcahey thank for sharing above code .my panel in one Add Button, If user click on button then add new button in panel header .it's possible?thanks
    Quick and dirty solution
    https://fiddle.sencha.com/#fiddle/fib
    All Best
    ---
    Željko Mitrović
    http://skitanja.blogspot.com/

    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." Martin Golding

  3. #13
    Sencha Premium Member
    Join Date
    Dec 2009
    Location
    Rhode Island
    Posts
    241

    Default

    Are you trying to add a new button on each click? If not, why not have the button there when the panel is created and have it hidden. when the user clicks the other button then unhide the hidden button...

  4. #14

    Default uh huh..

    Quote Originally Posted by sword-it View Post
    Tools have an 'align' config option, 'left' or 'right' (default).

    No they don't.


  5. #15

    Default

    Hi dmulcahey

    I'm doing it the same way ,
    adding an info button with my panel title in the header.
    But the issue is it comes at the most right .
    I want to appear that button right after my title
    i'm giving the width:auto to my title.
    Will you please help me
    Thanks

Page 2 of 2 FirstFirst 12

Posting Permissions

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