Questions tagged [extjs4]

Please use this tag in relation to ExtJS 4.0 - 4.2; Ext JS 4 is the fourth major version of the JavaScript library for building Rich Internet Applications (RIA), and now includes an MVC architecture without the need to use plugins. Sencha has already released ExtJS 4.1 which has some significant changes compared to the last stable 4.0.7 release.

Ext JS 4 is a major advancement in JavaScript framework. With expanded functionality, faster performance, and improved efficiency, you can create incredible web apps for every browser. The framework has become the final release since April 26th 2011.

Note: Sencha has already released ExtJs 4.1 which has some rather significant changes comparing to last stable 4.0.7 release. Please use this tag in relation to ExtJs 4.0.7.

There is extjs4.1 tag for questions related to ExtJs 4.1 release.

Links for Starters:

See for more information.

5584 questions
19
votes
5 answers

Attach ExtJS MVC controllers to DOM elements, not components

Is there a way to use the Ext.app.Controller control() method, but pass in a DOM query? I have a page that contains standard links and would like to add a click handler to them even though they were not created as Ext Buttons. I've tried…
Nathan Voxland
  • 15,453
  • 2
  • 48
  • 64
19
votes
3 answers

How to add row double click event listener when extending grid panel with Ext.define()?

I am extending GridPanel with Ext.define() (Ext v4). I need to get the row data when a grid row is double clicked. At this point I cannot even get the event listener working: Ext.define('Application.usersGrid', { extend: 'Ext.grid.GridPanel', alias:…
Petrunov
  • 754
  • 1
  • 8
  • 18
19
votes
4 answers

Ext.loader not enabled Missing required?

I have some problems with Extjs4 librairie. I want to use treeEditor component. Firebug error : Error : uncaught exception: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class: …
Vincent Guesné
  • 776
  • 5
  • 13
  • 28
19
votes
2 answers

ExtJs didn't fire select event on ComboBox

I have a problem with ExtJs combobox, consider I have a combobox that has 4 items and a callback function in select event on combobox. When I'm going to set the combobox selected value with setValue(), ExtJs don't fire select event. How can I fix…
Afshin Mehrabani
  • 33,262
  • 29
  • 136
  • 201
18
votes
11 answers

How to clear the store and update a paging toolbar?

i need to reset paging toolbar parameters as "page", "start", "limit" when i click on a search button to re-load grid store with different parametres! how can i do it? the problem is that when i am on the next page, and i do a new search, i have the…
jack.cap.rooney
  • 1,306
  • 3
  • 21
  • 37
18
votes
3 answers

mixin vs plugin. What to choose?

Let's assume I have defined several new components -MyComponent1, MyComponent2, ..., which extend Ext.Component. Now I wnat to extend all this widgets with the same functionality - I want to add close button which would appear at the top-right…
Molecular Man
  • 22,277
  • 3
  • 72
  • 89
17
votes
2 answers

ExtJS Infinite Scroll Grid with remote Filters and Sort

In ExtJS 4.1 beta 2 I managed to implement an infinite scroll grid with a remote store. I basically took an existing (fully operational) paging grid (with remote store, filtering and sorting) and then put in the appropriate configs for infinite…
egerardus
  • 11,316
  • 12
  • 80
  • 123
17
votes
1 answer

How to get the REST response message in ExtJs 4?

I'm building upon RESTFul Store example of ExtJs 4. I'd like my script to display errors provided by the REST server, when either Add or Delete request fails. I've managed to obtain the success status of a request (see the code below), but how do I…
Dae
  • 2,345
  • 2
  • 22
  • 34
17
votes
3 answers

Creating a .net like dictionary object in Javascript

I want to create a object in JavaScript which will store values in key, value pair and I should be able to pass some key and should be able to get its value back. In .NET world we can use dictionary class for this kind of implementation. Do we have…
SharpCoder
  • 18,279
  • 43
  • 153
  • 249
17
votes
2 answers

Overriding Extjs classes and invoking callParent

I have a few months of experience developing Extjs web application. I ran into this problem: When I override a class, I modified the method and followed the previous implementation and invoke callParent(). The overriding part works but the…
Seng Zhe
  • 613
  • 1
  • 11
  • 21
17
votes
1 answer

Render Ext.application in a div

I am trying to run an ExtJS4 Ext.application inside our existing website template. We have a div #content, into which I want to place the application for development. How do I render the application into this area, rather than replacing the existing…
user2170010
  • 185
  • 1
  • 8
16
votes
4 answers

How to correctly set icon size of a button in extjs?

I'm using extjs4 and What i'm trying to do seems to be simple but i can't find a working solution for it. I have a 64*64px icon and i want my button to show it as the background image but extjs only shows the image partially.Googled on the net for a…
Mehdi Fanai
  • 4,021
  • 13
  • 50
  • 75
16
votes
3 answers

ExtJS - How to use Proxy, Model? How are they related?

I've been trying to learn to work with Models and Stores. But the proxy bit is confusing me a lot. So I'm going to list out my understanding here - please point out the gaps in my understanding. My understanding Models are used to represent domain…
jrharshath
  • 25,975
  • 33
  • 97
  • 127
16
votes
1 answer

Advice, help needed with ExtJS 4: grid: cell editing: auto edit feature

I searched ExtJS related questions and didn't found any reference, but if I missed it sorry in advance to making duplicate question. I would like to ask some assistance on how to make ExtJS 4 grid: cell editing: auto edit feature – what I mean is, I…
vins
  • 271
  • 1
  • 2
  • 9
16
votes
3 answers

ExtJs4 - Store baseParams config property?

In extjs3.x I used the stores baseParams config property to specify parameters used to load the store. This property no longer exists in extjs 4. What should I do instead of this? Also in extjs3 I was able to specify wether the stores proxy was a…
shane87
  • 3,090
  • 12
  • 51
  • 65