How do I change the tooltip for a panel located in a tab panel? Originally, I created a tooltip using the tabtip parameter of the panel constructor as the panel was added to the tabpanel.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to grab the DOM element that represents your tab’s tab strip. You can use tabPanel.getTabEl(tabID) to get the strip element. You can then grab the
.x-tab-strip-textspan and set itsqtipproperty.I’d never changed tab tooltips before so I dug around the Ext.TabPanel source looking at how they set it. I learned something too 🙂