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
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
  • 365
  • 1
  • 4
  • 13
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,418
  • 3
  • 17
  • 27
6
votes
2 answers

ExtJS Grid slow with 3000+ records

I am using ExtJS Grid and its getting pretty slow with 3000+ records. Sorting takes about 4 seconds. I am thinking maybe to use pagination in my table. However after reading the documentation, I am still a bit unsure about how pagination works in…
Oliver Watkins
  • 12,575
  • 33
  • 119
  • 225
5
votes
2 answers

Disable caching for ExtJs app

We have a ExtJS 5.01 app built with Sencha cmd 5.0.1.231. The issue we are facing is that browsers seem to cache the old version of our application. On looking at the network traffic on chrome when our application is served, i can see that app.js,…
player
  • 610
  • 6
  • 15
5
votes
4 answers

ExtJS 5: bind to other class properties, like allowBlank

I'm getting confused on what config values are allowed to be bound, and which ones are not. Currently, allowBlank is not allowed to be bound, as I get an error saying Ext.mixin.Bindable.applyBind(): Cannot bind allowBlank on Ext.form.field.ComboBox…
incutonez
  • 3,241
  • 9
  • 43
  • 92
5
votes
2 answers

ExtJS Remove item of a store

In a extjs app I have a tree panel that reads an json file, in the tree panel i have a check box that execute an action, additionally I save the checked element in a grid panel of a tab panel... I want to remove any element of the store saved…
davids182009
  • 441
  • 3
  • 7
  • 26
5
votes
1 answer

EXTJS 5 Load a VERY SIMPLE string array in store

I have a back end service that gives me an object which only contains an array of string. This is for example what the service gives me: { "DepartementsResult": [ "AME-CM", "BMAU", "BMKR", "BNVS" ] } So to get this data I want…
JkSuf
  • 343
  • 1
  • 6
  • 22
5
votes
3 answers

Month field on EXTJS 5.1

I got this awesome fiddle https://fiddle.sencha.com/#fiddle/h5i from another stack overflow post (thanks igor). BUT I have one problem: the code doesn't work if I select extjs version 5.1, which is the version I use in my application. The problem is…
JkSuf
  • 343
  • 1
  • 6
  • 22
5
votes
4 answers

Extjs 5, data model association & load nested data

trying to make this work.... I want to load nested data on two object model Ext.application({ name : 'MyApp', launch : function() { Ext.define('MyApp.model.Address', { extend: 'Ext.data.Model', entityName: 'Address', …
Manu
  • 89
  • 1
  • 7
5
votes
1 answer

Get byte array of file from filefield ExtJs

Hello friends I have the following filefield: { xtype:'filefield', buttonText: 'choose', buttonOnly: true, listeners: { change: function(fb, v) { // ... } } } and I want to get the chosen file in a…
Tato
  • 195
  • 4
  • 17
5
votes
1 answer

Integrating extjs 5 app build with sencha cmd and WebAPI in Visual Studio

I'm new to ExtJs and want to integrate ExtJs 5 app created with Sencha CMD to WebAPI app! I did the integration for BUILD mode, but not for the DEVELOPMENT mode. Regarding to this post the steps of integration are done as show below! Step 1.…
Albert
  • 53
  • 5
5
votes
1 answer

How are Controllers used with MVC in Extjs application

I am quite new to Extjs and after going through some tutorials and blogs on Extjs MVC pattern, I am not clear as to how a complex app(say 10 - 15 page navigation) can be built on extjs platform. From the sencha forums, it is suggested that all…
optimusPrime
  • 249
  • 6
  • 17
5
votes
1 answer

Extjs 5 hasMany vs field.reference

I'm struggling to understand the different types of data bindings in ExtJS and I couldn't figure this out: What is the difference between "hasMany" and "field.reference" when defining associations on two models? When should I use "hasMany" and when…
Phil
  • 340
  • 3
  • 9
5
votes
2 answers

Extjs 5. Ext.application is not a function. Why?

I get an error in console: Ext.application is not a function. My index.html file contains this code: ...
Jacobian
  • 10,122
  • 29
  • 128
  • 221
5
votes
2 answers

Extjs 5 Chart Legend Issue

I am trying to add a legend to my extjs 5 charts and it doesn't appear to work. Is this a bug or am I doing something wrong? legend: { docked: 'top', style: { borderColor: 'red', borderStyle: 'solid' } }
Niederee
  • 4,155
  • 25
  • 38
1
2
3
76 77