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
9
votes
3 answers

Faster ExtJs 4 learning methodology

How can a JQuery Ninja cross over to ExtJS as fast as possible? Given that ExtJS 3.x is now obsolete, how can one quickly grip concepts in Ext JS 4. Hardly can one find a book on Ext JS 4 online. The documentation is quite forward but complex. Ext…
Muzaaya Joshua
  • 7,736
  • 3
  • 47
  • 86
9
votes
2 answers

How to check whether one class is inhereted of another class?

I'm using Ext4... How to check whether one class is inherited of another class? for example: Ext.define("A", {}); Ext.define("B", { extend: "A" }); Ext.define("C", { extend: "B" }); var a = Ext.create("A"); var c = Ext.create("C"); I need…
Eugene Petrov
  • 651
  • 1
  • 5
  • 14
9
votes
3 answers

Create pdf with wkhtmltopdf and rendering javascript

I'm attempting to create a PDF of a javascript chart that I have in a model window (my chart is a combination of javascript and css in an .aspx view). The only thing in the rendered PDF file is the static content from the window, the actual…
Zero Cool
  • 1,866
  • 4
  • 19
  • 28
9
votes
3 answers

Extjs 4 Grid autoScroll

I am using Ext.grid.GridPanel in Extjs 4. Autoscroll is not working in my GridPanel. How can I resolve this?
Ram Patel
  • 151
  • 2
  • 2
  • 7
9
votes
2 answers

Extjs 4 How to get id of parent Component?

I have multiple fieldset. And have Button inside each fieldset in Extjs 4. I want to get fieldset id on the button click event, so that i can know from which fieldset the button was clicked How do i get this? { xtype:'fieldset', …
Kunal
  • 984
  • 4
  • 14
  • 33
9
votes
5 answers

How to call an action of controller from grids action column

I have an action column in my grid which is needed to perform lots of non-trivial operations after click on it. I don't want to use the handler method only to avoid duplicity in my code. I want to handle the click event from the controller method…
elCarda
  • 197
  • 1
  • 2
  • 5
9
votes
1 answer

Automatically check/uncheck all subtree nodes in extjs tree when certain node gets checked/unckecked

How do I automatically check/uncheck all subtree nodes in an extjs tree when a certain node gets checked/unckecked. I already have my tree with checkboxes. The only thing missing is this check/unckeck behavior. I found this: check child nodes of a…
alex
  • 833
  • 4
  • 12
  • 21
9
votes
4 answers

ExtJS 4 - Update/Refresh single record

I have a problem that's bugging me. I have a grid and when i dblclick on a item I want to open a window to edit that item. Pretty standard stuff. The problem is, i want to be sure the record is up to date, because other people using the program may…
MJC
  • 3,871
  • 4
  • 23
  • 34
9
votes
3 answers

extjs Combobox typeahead / auto selection for single character

I am using extjs combobox for a sex field. It have two value "M" and "F". I want to make it usable with keyboard: { xtype: 'combo', typeAhead: true, queryMode: 'local', minChars: 1, triggerAction: 'all', store: [ …
J-16 SDiZ
  • 26,473
  • 4
  • 65
  • 84
9
votes
3 answers

ExtJS 4 code assist

how can I write ExtJS code in Eclipse with autocompletion and other features? I tried with SpketIDE, but there isn't a ext.jsb2 file in the ExtJS 4 package. Has anyone done this? Thanks
ksemeks
  • 1,778
  • 3
  • 15
  • 17
9
votes
4 answers

ExtJs4 - What is the equivalent to the grid ColumnModel?

What is the equivalent to the ExtJs3 Ext.grid.ColumnModel in ExtJs4? What I want to do is hide a column, I did something like below in ExtJs3: grid.colModel.setHidden(1, true);
shane87
  • 3,090
  • 12
  • 51
  • 65
9
votes
1 answer

ExtJs - Filter a grid with a search field in the column header

In ExtJs, there are many options to filter a grid. There are two nice examples in the documentation, like referenced in this question. Remote filtering Local filtering However, having the filter hidden in the default dropdown menu of…
Lorenz Meyer
  • 19,166
  • 22
  • 75
  • 121
9
votes
2 answers

changing background colors of grid rows dynamically in extjs 4.2.2

I have my grid which loads a list of data, and some of the data should change the background value by a specific date value. If the date is smaller then the today's date, it should use the css class of 'now', otherwise 'later'. It does work fine,…
Paparis
  • 906
  • 2
  • 9
  • 23
9
votes
1 answer

extjs 4 - get VS select VS query

I am working on ExtJS 4.2 now. There are 3 ways to access DOM elements - get, select, query. I want to know the difference between them. Why three separate methods? we have a question here: SVO But it doesn't give me any clear answers. Looking for…
Navin Israni
  • 1,327
  • 3
  • 15
  • 27
9
votes
3 answers

extjs model associations in a list view

I have two models: Page and Department. I am showing pages in a list view in extjs and I would like to display the Department's Name instead of the department_id in the List view. I have not gotten to the part of actually adding the department to…
jdkealy
  • 4,807
  • 6
  • 34
  • 56