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.
1140 questions
18
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
  • 13,906
  • 3
  • 30
  • 46
15
votes
4 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,392
  • 1
  • 10
  • 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
  • 4,201
  • 5
  • 26
  • 50
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
  • 1,974
  • 3
  • 19
  • 39
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…
josei
  • 1,152
  • 1
  • 18
  • 44
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
  • 3,895
  • 6
  • 34
  • 60
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
  • 848
  • 1
  • 10
  • 27
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
  • 193
  • 1
  • 10
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
  • 4
  • 19
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
  • 139
  • 1
  • 3
  • 15
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
  • 409
  • 1
  • 7
  • 23
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
  • 183
  • 3
  • 14
6
votes
4 answers

EXTJS 5 : How to sort grid column in EXT JS 5

I recently updated version of EXT JS to 5 and and override of doSort function no longer works. Someone an idea how to do ? Exampple of override : { text: 'Custom', sortable : true, dataIndex: 'customsort', doSort: function(state) { …
Mickaël P
  • 235
  • 1
  • 3
  • 12
6
votes
2 answers

sencha extjs 5.0 app not working in production build

I have just built a new app with ExtJS 5.0 which seems to be really awesome. The app is working fine in development mode, but as soon as I build the app with the command line tools and deploy it, it stops working. The build command I use when I'm…
jebbie
  • 1,226
  • 1
  • 15
  • 23
1
2 3
75 76