Results 1 to 2 of 2

Thread: To tabs having same name

  1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    28
    Vote Rating
    0
      0  

    Default Unanswered: To tabs having same name

    Hi,

    In my application two tab having same name and i am defining reference of the tab using tab titles, so when onTap of one tab its executing both function. How can i avoid this. Please suggest me.

    SalesBtn:'tabbar > button[title=Sales]',

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,427
    Answers
    650
    Vote Rating
    858
      0  

    Default

    Don't reference them by title then, use some other attribute, say itemId.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Tags for this Thread

Posting Permissions

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