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

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -