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

Accessing complex REST resources with Ext JS

I am accessing a REST service which exposes these two resources, a parent resource and a child resource: /users /users/{userId}/account So the resource "account" is not nested within the resource "user", it has to be accessed by a second request.…
Christoph
  • 1,023
  • 11
  • 23
14
votes
4 answers

How to use Ext JS for role based application

I am planning to use Ext JS for a large application. The application's features are role based. When user login, they only see menu and screen features related to them. My server side technology will be Java & JSP. To solve this I have two ideas.. …
Abdel Raoof Olakara
  • 19,223
  • 11
  • 88
  • 133
14
votes
2 answers

extjs using up and down methods

I'm trying to use up and down to call rather than Ext.getCmp but I'm not quite understanding it. I have this code listeners: { 'change': function(field, selectedValue) { // Ext.getCmp('wildAnimal').setValue(selectedValue); …
Ryan Williams
  • 653
  • 3
  • 12
  • 28
14
votes
4 answers

How to align elements in a toolbar to left, middle, right

How can I have the three regions left, middle, right within a toolbar? I know that I can use -> to trigger the right aligned container for all following items but what about center?
seba
  • 974
  • 2
  • 10
  • 30
14
votes
4 answers

ExtJS 4: cloning stores

I'm trying to figure out how to clone an Ext.data.Store without keeping the old reference. Let me explain better with some code. Here's the source store: var source = Ext.create ('Ext.data.Store', { fields: ['name', 'age'] , data: [ …
Wilk
  • 7,873
  • 9
  • 46
  • 70
14
votes
3 answers

How to call functions within a XTemplate (itemTpl)

I would like to use Ext's String method on some text that will be output to the view. For example: itemTpl: [ ... '', '', '

{post_text_teaser}

', '

{timestamp}

', …
pepe
  • 9,799
  • 25
  • 110
  • 188
14
votes
2 answers

How to remove picker from column header of Ext JS Grid

I want to remove the picker (that has options for sorting and column selection) from the column header of a grid. I'm using Ext JS 4.1.1
Kabeer
  • 4,138
  • 7
  • 40
  • 62
14
votes
1 answer

In ExtJS, callParent() versus initConfig versus superclass

what is the difference between these snippets?: constructor: function(config) { this.initConfig(config); } constructor: function(config) { this.callParent(arguments); } constructor: function(config) { …
Paul
  • 9,285
  • 6
  • 29
  • 37
13
votes
1 answer

Ext.Direct VS Ext.Ajax

What are the main advantages of Ext.direct over regular Ext.ajax calls? When should I consider using one over the other?
Levi Hackwith
  • 9,232
  • 18
  • 64
  • 115
13
votes
1 answer

ExtJS extend grid RowEditor plugin (to edit array)

I've been using the ExtJS grid row editing plugin pretty liberally for CRUD operations in web applications. Now, I have a requirement to allow a database record to be edited along with a related collection/array (from another datastore) using this…
egerardus
  • 11,316
  • 12
  • 80
  • 123
13
votes
4 answers

Get Ext JS version

I have taken over a PHP + Ext JS project. Unfortunately, there is no documentation. How do I find out the Ext JS version that is being used? In jQuery, we get the version by running $().jquery;. Anything like this in Ext JS?
sri20198
  • 171
  • 1
  • 1
  • 6
13
votes
5 answers

Is it possible to add title to charts?

I want to add a title to a chart, like in the gauge example or a pie chart. I want to display a title under or on top of the chart. Is this possible? I've been looking and can't find anything about this. if so , any tip to share? it would be…
Armance
  • 5,350
  • 14
  • 57
  • 80
13
votes
1 answer

Ext.ux.form.field.DateTime questions

I create a Ext.ux.form.field.DateTime plugin, but here is some questions: if i don't set width/height, then DateTime in toolbar is missing cant show correct width in RowEditing plugin Ext.define('Ext.ux.form.field.DateTime', { …
atian25
  • 4,166
  • 8
  • 37
  • 60
13
votes
5 answers

Create an extension with an xtype in ExtJS 4

I am used to ExtJS 3.X, but am struggling with ExtJS 4. I want to create an extension of a grid and be able to use an instance of the grid with the xtype. As far as im aware, I have to set the alias as widget.xtypename but its not working for…
klj
  • 156
  • 1
  • 1
  • 6
13
votes
2 answers

Best way to hide/disable GUI elements based on user's privilege?

I am starting a web application with client side implemented in pure ExtJS and middle tier in Grails. The application has role-based authorization, where a user can have many fine grained roles like SOME_FORM_READ, SOME_FORM_UPDATE,…
Tong Wang
  • 1,602
  • 4
  • 29
  • 36