How to Show/Hide/Toggle Element with ExtJS?
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.
Very straightforward, at the element level (further to the comments below):
Where
my-divis the id of the element in question.See here and here
At the component level:
See here (show), here (hide) and here (toggle) respectively. So ‘idofthecomponent’ would be, say the id assigned to a Panel object.
You can also refer to the element directly using other selectors, such as document.getElementbyId, eg.