sencha-architect

Extjs form.reset() not working as trackResetOnLoad is true

我们两清 提交于 2020-01-06 16:10:35
问题 I have a situation like this. When I load a form and set values as 'form.setValues(MyObject)', I do not want the form to get dirty. In Order to do that I have set the config 'trackResetOnLoad:true'. My problem is I need to reset the form to its fresh state before I move to new form. form.reset() won't work as the trackResetOnLoad will set the 'originalValue' of each field. Any Idea to reset the page without looping through each field of the form and reset it which brings me huge overhead as

Load another view after login with sencha touch 2.0

混江龙づ霸主 提交于 2020-01-01 19:54:37
问题 I'm having a dumb problem and I would like you to give me a hand.Thanks in advance. The situatios is as follows: I have 2 wiews (both created with sencha architect 2.0), one for login, and another for general purposes. And I would like to load the second view on successful response when trying to log in, this is, after any successful login. The main problem is that I've tried with Ex.create, Ext.Viewport.add, Ext.Viewport.setActiveItem, but I can't manage to make the second view to appear on

Load another view after login with sencha touch 2.0

痴心易碎 提交于 2020-01-01 19:54:04
问题 I'm having a dumb problem and I would like you to give me a hand.Thanks in advance. The situatios is as follows: I have 2 wiews (both created with sencha architect 2.0), one for login, and another for general purposes. And I would like to load the second view on successful response when trying to log in, this is, after any successful login. The main problem is that I've tried with Ex.create, Ext.Viewport.add, Ext.Viewport.setActiveItem, but I can't manage to make the second view to appear on

Sencha Themer SCSS resource Integration Issue

爱⌒轻易说出口 提交于 2019-12-25 10:01:15
问题 I am getting stuck with an issue, i have created a theme with Sencha themer and its integrating well with Architect. But, if we add a SCSS file for putting custom SCSS then that changes are on reflected in my application. Sencha Architect Version: 4.2 Themer: v1.2.0.41 Thanks in advance. 来源: https://stackoverflow.com/questions/45208670/sencha-themer-scss-resource-integration-issue

Porting from EXT js 3.4 to EXT js 5.0

早过忘川 提交于 2019-12-25 03:05:09
问题 I have a web application on Sencha currently using ExtJS 3.4 functionality using the Sencha Architect 3.2, want to port/Migrate some forms to ExtJS 5.0. What will be the changes required? they will be minor or Major ? Do I need to change whole structure to MVC ? Quick reply will be appreciated. 回答1: Moving from Ext JS 3.x to >= 4.x (in your case, 5.x) is a complete application rewrite. In 4.0, Ext JS completely changed how the class system works (using syntax like Ext.define() ) -- a breaking

How to perform action on the basis of response status while doing sync in Ext.js

人盡茶涼 提交于 2019-12-25 00:17:50
问题 This is my store MyStore.js Ext.define('myProject.store.MyStore', { config:{ storeId: 'MyStore', autoLoad: false, autoSync: false, allowSingle: true, clearOnPageLoad: true, model: 'abc.model.MyStoreModel', proxy: { type: 'rest', actionMethods: {create: 'POST', read: 'GET', update: 'POST', destroy: 'POST'}, url:'/services/rest/MyService/myService', reader: { type: 'json', rootProperty:MyServiceView.elements.collection', successProperty : 'success' }, writer: { type: 'json', root:

How to manage IDE files in a git repository?

折月煮酒 提交于 2019-12-23 07:28:51
问题 The application is developed using Sencha Architect, which uses a host of auxiliary files for managing various IDE-related things (export paths, versioning of the IDE etc.). Some of these files will change every time a team member just opens a project in the Sencha Architect IDE. To give an example of a particularly annoying change, consider the property exportPath in the Architect-generated *.xds files. I will have a server of choice which I publish to, to a specific path, and other team

How to add filters in grid column headers in extjs?

≡放荡痞女 提交于 2019-12-21 20:56:45
问题 I have a grid with lots of records in it. so I want to add filters in each column header to filter the required data easily. I have seen the example given in the sencha docs. But How to implement it in the Extjs 4.2 version. How to use UX classes in it? Is there any plugin available? I am greatly thankful to you. Please help me. Anand 回答1: This is an example: Ext.define('Webdesktop.view.admin.List', { extend: 'Ext.grid.Panel', alias: 'widget.admin_casoslist', initComponent: function() { var

Sencha Architect 3 does not use app.css

自作多情 提交于 2019-12-19 09:17:32
问题 I am trying to add custom font icons to my sencha architect project, and remove unnecessary theme classes but it seems that Sencha Architect does not use the app.scss at all (located in the resources/sass folder of my project). The changes that I made are neither applied in architect nor when I start the app. app.scss $include-pictos-font: false; $include-default-icons: false; @import 'sencha-touch/default'; @import'sencha-touch/default/src/Class'; @include icon-font('CustomFont', inline-font