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
16
votes
6 answers

ExtJS4: How to show validation error message next to textbox, combobox etc

I need to implement validation messages that appear right next to invalid field. Any help would be appreciated.
berliner
  • 1,887
  • 3
  • 15
  • 23
16
votes
5 answers

Extjs checkcolumn disable for some rows, based on value

I have a grid, with checkcolumn. It's dataIndex is, for example, 'checked'. I want to disable or hide checkboxes for some rows, where another value, 'can_be_checked' for example, is false/empty. Renderer is already defined in checkcolumn, messing…
Nameless
  • 2,306
  • 4
  • 23
  • 28
15
votes
7 answers

ExtJS 4 MVC multiple instances of views and sub/child controller difficulties

I have encountered a problem with the MVC pattern in ExtJS 4. At least, I think I have. Having approached multiple people with this question, and having posted numerous times in the Sencha forums, I am now turning to a broader audience in hopes of…
aenigmatic
  • 161
  • 1
  • 1
  • 7
15
votes
4 answers

ExtJS 4 Naming Conventions

I was discussing with my colleagues the correct naming conventions for classes, variables and objects etc within ExtJS 4, but we all had differing views. Is there an "official" stance on this?
Tom Early
  • 165
  • 8
15
votes
8 answers

Auto-size Ext JS Window based on content, up to maxHeight

Using Ext JS 4.0.2, I'm trying to open a window that automatically sizes itself big enough to fit its content, until it hits a height limit, at which point it stops getting bigger and shows a scroll bar. Here's what I'm…
Mike M. Lin
  • 9,992
  • 12
  • 53
  • 62
15
votes
1 answer

How to access nested models from store in ExtJs 4

I just downloaded the final version of ExtJs 4 and I'm trying to implement some things using new Model approach. For instance I have a model named SetupModel, it has 2 nested models Users, Reports. I create new store and I set the Model property…
Andrey Selitsky
  • 2,584
  • 3
  • 28
  • 42
15
votes
1 answer

ExtJs minify Gets ignored

We have a CMS so I don't have access to the header of the HTML page which gets rendered for our extjs implementation. So I had to make a workaround which is like this: Ext.local = {}; var lang = { initLang: function (revisionNr) { …
Sangoku
  • 1,588
  • 2
  • 21
  • 50
15
votes
7 answers

How do I force the display of a decimal in an ExtJS NumberField to a certain precision?

I have a form with a NumberField that gets values of type float from JSON. If the values happen to be whole numbers, then no decimal places are shown. I would like to show 2 decimal places at all times. Is there a config option for this? Here's my…
Mike Sickler
  • 33,662
  • 21
  • 64
  • 90
15
votes
2 answers

Getting full model object from a combobox in ExtJs?

If I have a store backed combobox selection that fires an event under ExtJS 4, how do I go about getting the full object that is represented by that selection?
James McMahon
  • 48,506
  • 64
  • 207
  • 283
15
votes
1 answer

How to read query string in ExtJS 4?

I have an ExtJS application which is invoked with some query string parameters. I would like to know how to read those parameters and their values using ExtJS 4. My ExtJS application URL will look like the…
Shekhar
  • 11,438
  • 36
  • 130
  • 186
14
votes
1 answer

How can I add Click Event to Ext.Img?

How can I add Click Event to Ext.Img? var paddleItem = new Ext.Img({ xtype : 'image', src : "lib/Image/Paddle.png", x : 200, y : 300, draggable : true, index : 0, id : 'paddleItem', listeners : { click :…
LostCode
  • 533
  • 2
  • 6
  • 25
14
votes
3 answers

Getting Django to serialize objects without the "fields" field

So I am working on writing the backend web service using Django to create & consume JSON, and my colleague is working on the ExtJS4 frontend. I'm using the wadofstuff serializer so I can serialize nested objects. My colleague is having trouble…
jawilmont
  • 308
  • 1
  • 2
  • 9
14
votes
1 answer

Ext JS 4 - understanding this.control, selectors and event handling

I am trying to understand in Ext JS 4 (MVC) how event handling on buttons, comboboxes and similar work. Specifically, I believe in MVC we are supposed to be using "this.control" in the controller init function. For example, I have the following…
Scott Szretter
  • 3,938
  • 11
  • 57
  • 76
14
votes
3 answers

Removing a filter from a store in ExtJS

I explicitly add a filter to a Ext.data.Store using the store.filter(string, string) method. However, I can not figure out how to remove filters from the store. So the filters always apply even after reloading using store.load(). The only workaround…
joemoe
  • 5,734
  • 10
  • 43
  • 60
14
votes
4 answers

Increasing Ajax request timeout in ExtJs

Is there one single configuration in ExtJs library to increase Ajax request timeout? I have tried following two configurations but neither helped: Ext.override(Ext.data.Connection, { timeout: 60000 }); Ext.Ajax.timeout = 60000;
Kabeer
  • 4,138
  • 7
  • 40
  • 62