Questions tagged [extjs5]

Sencha Ext JS (JavaScript Framework for Rich Desktop Apps)

Sencha Ext JS is the industry's most powerful desktop application development platform with unparalleled cross-browser compatibility, advanced MVC architecture, plugin-free charting, and modern UI widgets.

Ext JS 5 has a myriad of new features and improvements. Here are some of the best:

  • Two-way data binding is a new mechanism that allows changes made in the view to be automatically written back to the model (and vice versa) without the need for custom event handlers.
  • Grid gadgets are new lightweight components useful for embedding within grid cells. Widgets and buffered updates make Ext JS grids even better, enabling richer data visualization and real-time data updates.
  • Touch-optimized charts is a new charting package that comes with features like 3D charts, financial charts, and multi-axis. It also has faster performance, cleaner code and a great experience on touch-screen devices. (The existing chart package is available as a separate package, so you can still use it.)
  • Routing allows application deep linking by translating your application's URL into controller actions and methods.
1146 questions
17
votes
1 answer

Line Chart with multi colored segments

I am using Ext 5 and would like to color segments in a line chart based on the values. Show line in green color if value greater than the target otherwise red. Is there any way to change the color of a line segment in Ext line chart based on its…
Gilsha
  • 14,431
  • 3
  • 32
  • 47
15
votes
5 answers

Sencha Cmd build - Failed creating background process

I'm trying to build extjs5 application with Cmd v5.0.0.160. I have ruby2.0 installed and sencha cmd on my PATH var. Here is the error that I get when running sencha app build: ... [INF] Capturing theme image [ERR] [ERR] BUILD FAILED [ERR]…
vadchen
  • 1,442
  • 1
  • 11
  • 14
12
votes
4 answers

Combobox values are disappearing on typing

Using extjs 5.1.3 version. I have a typeAhead combobox in the form as below: Combobox store: Ext.define('MyApp.view.myobj.field.CustomObject', { extend:'Ext.form.field.ComboBox', xtype: 'cstmObject', requires: [ …
Awesome
  • 5,689
  • 8
  • 33
  • 58
12
votes
1 answer

App folder is not loading in Ext.appliation when i try to test using jasmine

I am trying to implement jasmine in my application(Ext js 5)for unit testing. For that i have created app-test file. Ext.require('Ext.app.Application');Ext.Loader.setConfig({enabled:true}); Ext.onReady(function() { var Application =…
Surya Prakash Tumma
  • 2,153
  • 4
  • 27
  • 47
10
votes
1 answer

EXTJS CSRF protection

I am trying to implement protection in one app against CSRF. In PHP it is relatively simple to implement. I have many questions about how to do it with Extjs. The EXTJS books I read do not address the subject and I can not find concrete guidance on…
jose
  • 1,490
  • 3
  • 30
  • 65
10
votes
2 answers

Scrolling issues with ExtJS 5 app inside IFrame

Hy, this is what my test page looks like: The blue area is the parent page and the green area is an IFrame which runs an ExtJS application (simple viewport with a label inside). If the site is executed on a touch device (IPad, Android Tablet etc)…
suamikim
  • 5,350
  • 9
  • 40
  • 75
10
votes
1 answer

Why does Sencha CMD build fail with PhantomJS error code 2?

Problem: "Error capturing theme" while building Sencha CMD workspace application for sub-project A (has source files), but sub-project B (no source files) builds fine. Scenario: Created new Sencha workspace (CMD 5.1.0.26) and added a new project A.…
Duncan
  • 858
  • 1
  • 11
  • 29
9
votes
5 answers

EXTJS model idProperty field populated with model name?

I am trying to create a simple ExtJS5 app against a Restful RubyonRails backend. For some reason when I instantiate a model ExtJs populates the "idProperty" field with the name of the model (and counter).…
Rhubarb65
  • 323
  • 2
  • 11
6
votes
2 answers

TreeStore: different behaviour beetween autoLoad configuration and load() function

The test case in fiddle is working with autoLoad: true but with autoLoad: false (line 86) the load() function called at line 161 in the TreePanel beforerender event does not load the data... For (non tree) panels I allways have set autoLoad to false…
Michel
  • 571
  • 1
  • 4
  • 19
6
votes
1 answer

Exj JS 5, Access Store/Model from ViewController

I want to load item/items from ViewController. Here is an example: Ext.define('MyApp.model.User', { extend: 'Ext.data.Model', fields: ['name', 'email'], proxy: { type: 'rest', ... } }); Ext.define('MyApp.store.User', { …
Alexandr
  • 9,213
  • 12
  • 62
  • 102
6
votes
1 answer

Uncaught Error: [Ext.create] Unrecognized class name / alias: MyApp.store.LibraryFolderTreeStore

I'm migrating ext js 4 to ext js 5.1 .I have code in my extjs 4.2.1 which is giving console error after upgrading to extjs 5.1 .It was working good in ExtJs 4.2.1, don't know why it is giving error, saying Uncaught Error: [Ext.create]…
Abhijit Muke
  • 1,194
  • 3
  • 16
  • 41
6
votes
2 answers

ExtJs 5.1.0 - Unrecognized class name / alias: widget.cartesian

I want to show a stacked area chart in a new window. The enviroment is the ExtJs Webdesktop. When I create the window through: Ext.create('Desktop.displayPresences.view.displayPresencesChart').show() I always get these error messages:…
Timon
  • 149
  • 1
  • 3
  • 16
6
votes
2 answers

ExtJS 5.1 Build Error (Yui Parse Error)

I use eclipse for ExtJS development, I am using ant build in eclipse, it uses Sencha cmd. My project details are app.framework.version=5.1.0.107 app.cmd.version=5.1.0.26 when I try to build project, it fails with Yui Parse errors, but I couldn't…
AsyncTask
  • 419
  • 1
  • 7
  • 24
6
votes
1 answer

Extjs 5 data model - has many association

I'm trying to understand the new association concept in Extjs 5 data models. I've got the following models // User Ext.define('App.model.User', { extend: 'App.model.Base', fields: [ {name: 'id', type: 'string'}, {name:…
guess
  • 61
  • 3
6
votes
1 answer

extjs 5 : make a data binding for component's custom property

i have a component that extended from the filefield, and i added a custom property 'serverPath' to it ,and also i have defined the getter and setter . code : Ext.define('MyApp.ux.Field.File',{ extend:'Ext.form.field.File', …
happyyangyuan
  • 179
  • 3
  • 14
1
2 3
76 77