Questions tagged [extjs]

Sencha Ext JS is a JavaScript framework for building rich Internet applications (RIAs).

Sencha Ext JS

Sencha Ext JS provides a complete object-oriented framework for creating a desktop-like application that runs in a web browser or packaged as a native application. It manages object lifecycle, layouts, theming, data storage, Ajax communication and has a large library of component-driven UI widgets including charting capability.

Originally built as an add-on library for YUI, it has a modular architecture that developers can extend using JavaScript.

Resources

Notable Historical Events

  • 01-Jul-2015: With Ext JS 6, Sencha introduces a single framework for creating applications that run across all types of devices, from phones to tablets to desktops. This move combines the legacy Touch framework into the same project structure as Ext JS allowing for the sharing of resources.

  • 15-Apr-2014: Along with the release of version 5.0 Sencha Inc. officially dropped support for Internet Explorer versions 6 & 7 and only support 8 in "standards" mode. This marks a shift in favour of modern web-standards.

  • 15-Jun-2010: The merger of ExtJS with JQTouch and Raphaël was announced forming a new organisation called Sencha Inc. Ext JS continues to be available as a main product on the Sencha website together with Sencha Touch, Sencha GWT, Sencha Architect, Sencha Animator and Ext Core.

Version History

24873 questions
12
votes
2 answers

How to insert spaces between components in Ext js 4 layout

I'm moving from adobe flex to ext js 4, and I noted that in Extjs, the components are placed too close. There is no gap between then. This can be faced with this example: var win = Ext.create('Ext.window.Window', { layout: 'hbox', …
Beetlejuice
  • 4,292
  • 10
  • 58
  • 84
12
votes
1 answer

in ExtJS, is it better to call Model.save() or Store.Sync()?

And what are the ramifications of each? I see that Model.save(), for example, automatically refreshes the Model with results from the server. I'm not sure if sync() does.
Paul
  • 9,285
  • 6
  • 29
  • 37
11
votes
3 answers

How to pass parameter to Ext.data.Store?

I am using following code: var genres1 = new Ext.data.Store({ reader: new Ext.data.JsonReader({ fields: ['pincode','place_name'], root: 'rows' }), proxy: new Ext.data.HttpProxy({ url: 'pointalong.php', …
Pari
  • 339
  • 2
  • 9
  • 23
11
votes
1 answer

How to Perform Controller Inheritance in ExtJS 4?

I'm looking to write a fairly complex application that would involve having several "base" items (a base form, a base grid, etc.) that other items would inherit from in order to follow DRY. These base items would have common events that all…
Levi Hackwith
  • 9,232
  • 18
  • 64
  • 115
11
votes
2 answers

ExtJS 4: How to know when any field in a form (Ext.form.Panel) changes?

I'd like a single event listener that fires whenever any field in a form (i.e., Ext.form.Panel) changes. The Ext.form.Panel class doesn't fire an event for this itself, however. What's the best way to listen for 'change' events for all fields in a…
clint
  • 14,402
  • 12
  • 70
  • 79
11
votes
2 answers

How do I set up a reverse proxy on a Mac?

I am currently developing a JavaScript (Sencha) app on my Mac which interfaces with an http REST service. The service is already in place somewhere else (on another domain) and I have no control over it. Since I am developing the app on my own Mac…
Groppe
  • 3,819
  • 12
  • 44
  • 68
11
votes
2 answers

extjs tree panel context menu not working

var menu1 = new Ext.menu.Menu({ items: [{ text: 'Open in new tab' }] }); var treePanel = Ext.create('Ext.tree.Panel', { id: 'tree-panel', region: 'center', useArrows: true, singleExpand: true, split: false, …
Arpit Vaishnav
  • 4,739
  • 6
  • 39
  • 57
11
votes
3 answers

Ext.Net and Ext.JS

Good Day Guys, I know this may sound like a stupid question. However, I wonder if someone can please explain to me the difference between EXT.NET and EXT.JS.. I have been trying to understand both of them, but the result is zero. As far as I know,…
Kiki Chandra
  • 187
  • 1
  • 15
11
votes
1 answer

ExtJs - How to get value from the Store by id?

How to get value from the Store by id? store in such fields fields: [ {name: "id", type: 'int'}, {name: "name", type: 'String'},... I need to get the id - name value. I try so: var rec = Ext.StoreMgr.lookup("MyStore").getById(id); …
Andrei
  • 1,125
  • 2
  • 15
  • 29
11
votes
1 answer

Getting scope of function caller

I have a function that breaks somewhere in Line 1433 of ExtJS. var createDelayed = function(h, o, scope){ console.log(arguments); //logs undefined all round. return function(){ var args = Array.prototype.slice.call(arguments, 0); …
Alex
  • 5,674
  • 7
  • 42
  • 65
11
votes
2 answers

ExtJS: form validation against model

I'm learning ExtJS, and I came across two different concepts, that seem logically connected to me. Model classes can specify custom validation methods on their fields. Model instances can be loaded into, and retrieved from Forms. My question…
jrharshath
  • 25,975
  • 33
  • 97
  • 127
11
votes
1 answer

How to get selected rows of a grid panel in ExtJs?

I want to get the surname fields of the selected rows. This one does not work at all: users.getSelectionModel().getSelections();
ilhan
  • 8,700
  • 35
  • 117
  • 201
11
votes
7 answers

display image in a grid using extjs

I am new to extjs. I want to display icon images for each grid elements. can you please help me anybody? I am getting the image path from an xml file. My code is below. here I am displaying image path. I have to replace it by displaying…
Abisha
11
votes
5 answers

How can I get selected records from ExtJS grid that uses a checkboxmodel

Given that I've got a ExtJS grid using a CheckBoxModel, what is the best way to get a list of all the records where the checkbox is checked?
Steve
  • 111
  • 1
  • 1
  • 3
11
votes
6 answers

extjs 4 XTemplate class associations

I'm testing out extjs 4 and I have stumbled upon something, I can't seem to figure out. I have simple object association: Snapshot - hasMany -> Model Now, I am trying to use XTemplate to show this association in View component, so I have my…
Greg
  • 2,413
  • 5
  • 22
  • 23