PDA

View Full Version : Change panel title dynamically



samarth
27 Jan 2014, 1:24 AM
Hi folks,
I am using extjs 3.4 I have a panel in which title has been hard coded. I have a grid in that panel which will be refreshed in every minute. I have displayed count in that title, that is coming properly for the first time. when it is refreshed or clicked any button in that panel the grid will be displaying new items. I need to change the title dynamically. I have used reset for that formpanel id but it is not taking properly. Please help me in that issue.

willigogs
27 Jan 2014, 12:29 PM
panel.setTitle('whatever you want');