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
132
votes
5 answers

Explain ExtJS 4 event handling

I've recently started learning ExtJS, and have trouble understanding how to handle Events. I have no experience of any previous versions of ExtJS. From reading various manuals, guides and documentation pages, I've figured out how to use it, but I'm…
jrharshath
  • 25,975
  • 33
  • 97
  • 127
126
votes
2 answers

How to retrieve Request Payload

I'm using PHP, ExtJS and ajax store. It sends data (on create, update, destroy) not in POST or GET. In the Chrome Console I see my outgoing params as JSON in the "Request Payload" field. $_POST and $_GET are empty. How to retrieve it in PHP?
nkuhta
  • 10,388
  • 12
  • 41
  • 54
120
votes
9 answers

Javascript how to parse JSON array

I'm using Sencha Touch (ExtJS) to get a JSON message from the server. The message I receive is this one : { "success": true, "counters": [ { "counter_name": "dsd", "counter_type": "sds", "counter_unit": "sds" }, …
maephisto
  • 4,952
  • 11
  • 53
  • 73
93
votes
10 answers

How to stop a setTimeout loop?

I'm trying to build a loading indicator with a image sprite and I came up with this function function setBgPosition() { var c = 0; var numbers = [0, -120, -240, -360, -480, -600, -720]; function run() { …
Gihan Lasita
  • 2,955
  • 13
  • 48
  • 65
92
votes
11 answers

Any suggestions for testing extjs code in a browser, preferably with selenium?

We've been using selenium with great success to handle high-level website testing (in addition to extensive python doctests at a module level). However now we're using extjs for a lot of pages and its proving difficult to incorporate Selenium tests…
mm2001
  • 6,427
  • 5
  • 39
  • 37
91
votes
7 answers

@Override is not allowed when implementing interface method

I have the problem mentioned in the title. You could say that this thread duplicates another one: How do I turn off error validation for annotations in IntelliJ IDEA? But the solution given there doesn't work. They say that I need to take the…
Nikitin Mikhail
  • 2,983
  • 9
  • 42
  • 67
77
votes
6 answers

JQuery vs ExtJS

We are planning the development of completely new GUI. We were very happy with JQuery which we used in our old product. It was easy, classy and fast. We have heard about ExtJS. It also has AJAX and a large list of other features. We want to use only…
Rajeev
  • 1,196
  • 3
  • 14
  • 21
65
votes
1 answer

What are alternatives to ExtJS?

So what I'm looking for is a javascript framework I can use that has several UI controls. I have taken a look at jQuery but those controls are very basic compared to ExtJS. Are there any other competitive alternatives? This question exists because…
fuentesjr
  • 50,920
  • 27
  • 77
  • 81
64
votes
7 answers

Javascript: Uploading a file... without a file

I am trying to fake a file upload without actually using a file input from the user. The file's content will be dynamically generated from a string. Is this possible? Have anyone ever done this before? Are there examples/theory available? To…
LiraNuna
  • 64,916
  • 15
  • 117
  • 140
61
votes
13 answers

How can I let a user download multiple files when a button is clicked?

So I have a httpd server running which has links to a bunch of files. Lets say the user selects three files from a file list to download and they're located at: mysite.com/file1 mysite.com/file2 mysite.com/file3 When they click the download…
Grammin
  • 11,808
  • 22
  • 80
  • 138
49
votes
5 answers

Is still GWT pertinent for new projects?

The question Why should I use jQuery instead of GWT? may be outdated (as its answers). And most of the other SO related questions may also be outdated nowadays. So, let's update the state of the art about GWT relevance for new projects. GWT is more…
oHo
  • 51,447
  • 27
  • 165
  • 200
45
votes
4 answers

to initComponent() or not to initComponent()

I struggle when building an app in ExtJS 4, and part of that is confusion on when to configure something in initComponent() and when not to... For example, in Sencha's own MVC Application Architecture doc, when first creating the grid view, they…
romacafe
  • 3,098
  • 2
  • 23
  • 27
43
votes
4 answers

Gradle -- execute multiple commands from task

I have 2 separate apps (in one project) that require 2 separate builds (sencha cmd). I have been asked to create a gradle script that will do the builds for both apps. I created a task that builds one app, but am having troubles using the same task…
stackato
  • 1,085
  • 1
  • 19
  • 38
42
votes
9 answers

What is ExtJS philosophy? Single page application?

I need to write my next project using ExtJs. It's a nice Javascript lib but I don't fully understand the idea behind it. Take the docs page for example. Am I supposed to write my web applications with extjs like that? One page that should never be…
stach
  • 2,135
  • 2
  • 20
  • 22
41
votes
4 answers

JavaScript "me" = "this", why?

I saw in many source codes: var me = this; specially in Ext-JS 4 (JS framework). Why doing such thing? Is there any other reason or you just want for a variable to be called like "me" instead of "this"? Thank you.
user1509885
1
2 3
99 100