extjs

Ext deployed application: ext.js vs ext-all.js - what's a better option?

一世执手 提交于 2019-12-12 10:07:46
问题 Looking at the deploy process for an ExtJS 4 application I performed the following steps (using SDK Tools 2.0.0-beta3): sencha create jsb -a http://localhost:8080/myapp/ -p app.jsb3 sencha build -p app.jsb3 -d . This created for me all-classes.js and app-all.js . The next step was to switch form ext-all.js to ext.js . Doing that my app stop working. Looking at the console, I noticed that Ext tried to load the required classes separately, from a src folder. src/AbstractPlugin.js?_dc

After update the android chrome version 65, application does not works, Sencha touch and cordova android

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-12 10:07:18
问题 After update the chrome version 65, application is showing the splash screen again when taping some click event, it's a hybrid app Sencha touch and Cordova android. 回答1: Edit: this is a known chrome 65 bug which is marked to be fixed in chrome 67. Edit 2: Confirmed to be fixed on Chrome 67. You will need to update "Android System WebView" on Android devices to get the fix. I believe this is a Chrome 65 bug. I have a deployed Sencha Touch application using version 2.4.2. About a week ago I

load different views into viewport

烈酒焚心 提交于 2019-12-12 09:24:05
问题 I am using a main viewport. I use the north panel for buttons. When i click on a button i want to load a panel in the center region. I made some views in architect allready. mainviewport Ext.define('MyApp.view.MyViewport', { extend: 'Ext.container.Viewport', layout: { type: 'border' }, initComponent: function() { var me = this; Ext.applyIf(me, { items: [ { xtype: 'container', height: 65, region: 'north', items: [ { xtype: 'button', height: 50, maxHeight: 50, maxWidth: 50, minHeight: 50,

autocomplete combobox extjs with remote ajax store

故事扮演 提交于 2019-12-12 09:21:50
问题 I want to add a combobox in my app with a remote store. I have a store that call a php script that returns data in json format and I linked it with my combobox. The store is autoLoaded but my combobox is still empty. Here's my store // Define autocomplete model Ext.define('modelloAC', { extend: 'Ext.data.Model', fields: [ { name: 'telaio' } ] }); // store auto complete var autoCompleteStore = Ext.create('Ext.data.Store', { model: modelloAC, autoLoad: true, proxy: { type: 'ajax', url: 'script

use extra params in store dynamically

淺唱寂寞╮ 提交于 2019-12-12 08:26:54
问题 I have a form. In the form, I am using a comboBox with a store . { xtype: 'combobox', id: 'SubContractor', name: 'SubContractor', fieldLabel: 'Sub Contractors', selectOnFocus: true, editable: false, displayField: 'FirstName', store: 'jsonGetSubContractorsList', typeAhead: true, allowBlank: false, typeAheadDelay: 20, valueField: 'SubContractID', width: 440, labelWidth: 229 } In store, in proxy I have static extraParams , it's working. proxy: { type: 'ajax', url: '/admin/contract/subcontractors

Extjs Combo diplay value - if value is not found

此生再无相见时 提交于 2019-12-12 08:14:59
问题 I am using this technique to accomplish an auto-complete feature for a combo box http://cdn.sencha.com/ext-4.1.1a-gpl/examples/form/forum-search.html , it returns name and type of a car, sometimes the type is unknown so nothing returns, I would like it to be "No Data" so I used this valueNotFoundText: 'No Data' but didn't work xtype: 'combo', store: s, hideTrigger:true, typeAhead: false, id: 'search', queryMode: 'remote', queryParam: 'query', displayField: 'name',//+'type', valueField: 'name'

Where can I find jQuery or Ext plugins for creating organization charts? [closed]

强颜欢笑 提交于 2019-12-12 07:59:42
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I know we can create an organization chart with Google Chart Tools. But my client's server doesn't have an Internet connection. Are there any jQuery or Ext plugins for creating an organization chart? 回答1: I have successfully used JavaScript InfoVis Toolkit to create a graph that looks very similar to that. As

ExtJs How do I scroll to the bottom of a grid?

社会主义新天地 提交于 2019-12-12 07:56:49
问题 I am making a web-based logviewer using extjs. I would like new log-lines to be added to the bottom of my gridview as it saves cpu by not requiring a sort to move it to the top of the grid (plus its how my coworkers prefer it). My problem is that ideally the grid would scroll to the bottom after a new row is added. I have been looking through the documentation and I cannot figure out how to do this. I just see a method to scroll to the top. Any ideas? Thanks! 回答1: Use GridView's focusRow

extjs - Store with autoload true should not load on application launch

我与影子孤独终老i 提交于 2019-12-12 07:56:43
问题 I have a grid linked to a store with autoLoad: true . The problem is that the store gets loaded on application launch, even if the view is created only later when accessed through a menu. I have referenced the store in Application.js and in the view, but I'm not instatiating explicitly neither the store nor the view. I don't know how to achieve that the store is loaded only when needed by the view. If I set autoLoad: true , the store gets loaded on application launch. If I set autoLoad: false

What is the best way to escape HTML on ExtJS application generally?

為{幸葍}努か 提交于 2019-12-12 07:49:07
问题 I am developing a web application using ExtJS to build GUI and communicate with server via RESTful web-service (the returned data is formatted as JSON objects). Now I am having problems when processing with data which contains HTML tags, Javascript codes inside; because when I set those values to Ext forms, labels, input fields, they are affected by those syntaxes. I used this function to load data from model object to form: form.loadRecord(model); I have found a solution to escape HTML and