extjs - Changing views on button click in Sencha Touch -
I came to a situation in irrigation touch, where I have to make changes in another view by clicking on a button.
My view1 is a dashboard that displays approximately 8 icons and different views are shown on each icon's click. Therefore, I placed a Home button in the header of those 8 different scenes and I am trying to get back to the dashboard which is not hidden. Instead it is showing a blank screen and for me anybody in the console Error not displayed.
My code was changed to change the view on the button:
{xtype: 'button', CLS: 'CLS home', text: 'home', style: ' Background: # 4A4245; Color: white; ', handler: function () {console.log ("clicked home"); Var DashboardPanel = Extensions. ('AppSupport.view.DashBoard'); Ext.Viewport.add (dashboardPanel); //Ext.Viewport.setActiveItem (DishboardPayPal, type: 'slide', direction: 'left'}); }} Help friends ... Thanks in advance ... !!!
You should try to use the Navigation View tutorial in the senate architect documentation ... this is an app Step by step guide to see the navigation provides a simple step. Navigation View Manager also provides built-in history support after Touch 2 which makes it simple and easy to back
Comments
Post a Comment