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
24
votes
2 answers

Gradle can't connect to maven repo through corporate proxy - need to configure through Sencha/Cordova

I'm trying to build a Sencha Touch app for android using Cordova. However, after the gradle build kicks off I get a connection error when trying to connect to the maven repo: [INF] [shellscript] Running: C:\xxx\gradlew cdvBuildDebug -b…
semiserious
  • 610
  • 1
  • 8
  • 12
24
votes
3 answers

504 Gateway Time-out The server didn't respond in time. How to fix it?

The client requested to download a compressed log file, using Ext.js a form submission on an embedded iframe. Request was sent to server, which has Apache and JBoss 6. The servlet compresses log files, do some database operation and returns the…
Ricardo
  • 3,696
  • 5
  • 36
  • 50
24
votes
6 answers

How to add event listeners to an array of objects

I have an array of objects (specifically easelJS images) - something like this: var imageArray = new Array; gShape = new createjs.Shape(); // shape is something imageArray.push(gShape); What I want to do is have an event listener instead…
Ryan Williams
  • 653
  • 3
  • 12
  • 28
24
votes
3 answers

How to break or continue Ext.each

Ext.each(boundsExtend, function(value) { if(value != record.ID) break; }); So how do I break or continue Ext.each loop?
dfilkovi
  • 3,051
  • 7
  • 39
  • 51
23
votes
3 answers

How to change extjs grid single cell background color depending on value changes?

To change whole row background color we can use getRowClass, but how to do the same logic only for one cell, and particular column....any ideas? //EXTJS viewConfig: { getRowClass: function(record, index) { var c = record.get('change'); …
Davor Zubak
  • 4,726
  • 13
  • 59
  • 94
23
votes
3 answers

Best Practices concerning initComponent() in Ext.define()

I'm writing all my components in ExtJS's new MVC fashion using Ext.define(). I struggle a bit whether define properties inside of initComponent() or by simply setting them like property: 42,. Are there widely accepted best practices? I'm staggering…
hynek
  • 3,647
  • 1
  • 18
  • 26
23
votes
3 answers

ExtJS ComboBox dropdown width wider than input box width?

Is there any way to set the width of an ExtJS (version 4) ComboBox's dropdown menu to be wider than that of the actual input box? I have a comboxbox that i want to be around 200px but I have paging on the results dropdown and that width is not even…
Bill Dami
  • 3,205
  • 5
  • 51
  • 70
23
votes
3 answers

Extjs: extend class via constructor or initComponent?

In extjs you can always extend an extjs class via the constructor(). For classes derinving from Component you can also extend via initComponent(). I am wondering why so many code extend via initComponent, whereas constructor seems to be the…
Exception e
  • 1,864
  • 3
  • 19
  • 33
23
votes
1 answer

AngularJS VS ExtJS

After reading the tutorials for both technologies AngularJS makes the HTML code much more easy to read. My only concern is that AngularJS does not provide a Desktop Environment in terms of controls like ExtJS isn't that right? Or is it these days…
user3864332
  • 383
  • 1
  • 3
  • 9
23
votes
2 answers

How To Fix Circular Reference Error When Dealing With Json

This question is a part of my original post here Get Data Into Extjs GridPanel Below is my Controller that reads data from sql db and then I am trying to encode the result as JSON and send the data back to my gridview.js public JsonResult…
EagleFox
  • 1,367
  • 10
  • 34
  • 58
22
votes
1 answer

What does ExtJS ComboBox triggerAction: "all" really do?

I tried to create a simple ComboBox: var combo1 = new Ext.form.ComboBox({ store: [1,2,3], renderTo: document.body }); But written this way it acts strangely: When you first time pop open the dropdown, it offers three choices. You choose…
Rene Saarsoo
  • 13,580
  • 8
  • 57
  • 85
22
votes
11 answers

Set focus on Extjs textfield

Currently I got problem with setting focus on extjs textfield. When form show, I want to set focus to First name text box and I try to use build in function focus() but still can't make it work. I am happy to see your suggestion. var simple = new…
Sokmesa Khiev
  • 2,910
  • 3
  • 19
  • 30
22
votes
2 answers

How to use Ext.define in ExtJS 4?

I'm new to ExtJS 4 and need some help understanding how the Ext.define works, please. In fact what I want to do is something similar to the portlets in the portal example, in my application I will need so many objects to add in my different tabs, so…
Armance
  • 5,350
  • 14
  • 57
  • 80
22
votes
5 answers

Do you know of a bleeding-edge HTML5 leveraging, legacy-ignoring JavaScript framework?

What's the best framework (sort of jquery, extjs, etc like) to use if I'd like to intensively use all the freshest technologies of the HTML5 stack provided by modern browsers (Firefox 7, Safari 5, Chrome 14) and have absolutely no need to support…
Ivan
  • 63,011
  • 101
  • 250
  • 382
22
votes
8 answers

Javascript library for building desktop-like web application: ExtJS, jQuery, YahooUI, Mocha, SproutCore, Cappuccino, others?

I am evaluating several Javascript UI toolkits for building web applications that have a desktop-like feel, mainly because of dialogs and window management. I looked at several options - here are my evaluations so far: ExtJS - Great widget library,…
Dema
  • 6,867
  • 11
  • 40
  • 48