Results 1 to 3 of 3

Thread: how to change tab panels title?

  1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    163
    Vote Rating
    0
      0  

    Default how to change tab panels title?

    Hi

    Is it possible to change a title of a Grouptabpanel item?

    if possible, how to do it?


    Regards

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    Use setTitle method on the item and follow the code to see if it ever gets a new title or if you need to extend it to add the behavior.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Jul 2011
    Posts
    163
    Vote Rating
    0
      0  

    Default

    setTitle didn't work for my case, i found that grouptabpanel uses a tree store to control tabs, so i modified the treestore's record to change title.

Posting Permissions

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