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

How to get values from Ext form

Actually I have an ExtJs script to create form with a Window below. var frmAccount = Ext.create('Ext.form.Panel',{ bodyPadding: 5, frame : true, items :[ { xtype : 'textfield', fieldLabel : 'Account…
Paman Gembul
  • 173
  • 2
  • 4
  • 16
10
votes
3 answers

Why success callback is not called in extjs form submission?

I'm trying to upload a file using Ext JS forms and in case of success or failure, show appropriate messages. But I'm not able to get the desired result. I'm not able to make success or failure callbacks work in form.submit action. What I've done…
Saeed Neamati
  • 35,341
  • 41
  • 136
  • 188
10
votes
1 answer

EXTJS close a window

I have a Window. I'm having some issues with the default close button which is on the top-right hand corner of the window. Therefore i was thinking to disable that close button and add a close button so that when the user clicks will disable/remove…
Illep
  • 16,375
  • 46
  • 171
  • 302
10
votes
1 answer

How to Profile (Debug) ExtJS EventPipe / Events

I am working on a relatively large ExtJS MVC application with around >40 Controllers, >100 Stores, >100 Models and so on. I don't follow the possible MVC way strict so I implemented a lazy controller initialization which initialize the controller…
sra
  • 23,820
  • 7
  • 55
  • 89
10
votes
2 answers

Extjs 4 grid mouseover show full cell value

I've got a grid with a long string in one of the columns. I would like the full string to appear when the user mouses over any cell in this column. So far I have it working where a tooltip pops up for any cell in this column but they don't display…
alex9311
  • 1,230
  • 1
  • 18
  • 42
10
votes
3 answers

how to get the value on extjs combo box?

I have a following code for combo box, how can I get the value that is selected in the combobox and load that value into a variable, and use it later. Thank you Ext.define('Column', { extend: 'Ext.data.Model', fields: ['data1',…
shiro
  • 255
  • 2
  • 7
  • 20
10
votes
2 answers

how to handle device back button on sencha touch application

In Sencha touch if I use navigation view i can get back button. This is pretty fine. But what if user hit device backbutton? it is direct exiting the applicaiton. In my requirement it should not exit the application it has to go back to previous…
atluriajith
  • 762
  • 3
  • 17
  • 41
10
votes
2 answers

me.dockedItems error in ExtJS

I was trying to test out a script i write on firebug console and i think the script is simple enough. And when i ran the script, i got this error me.dockedItems is undefined. Here's the code i run from Firefox's firebug…
auphali
  • 139
  • 1
  • 8
10
votes
2 answers

Creating a Dynamic Grid with ExtJS

I'm trying to make a Dynamic Grid class (where I do not know any information about the columns but they are given from the json response and the gird prepares itself accordingly). Here I have found exactly what I was looking for however it gives me…
ilhan
  • 8,700
  • 35
  • 117
  • 201
10
votes
1 answer

Extjs component inside Ext.XTemplate on EXTJS 4

I'm trying to add extjs components to tpl panel. Is there anyway to insert component to tpl like this Ext.create('Ext.panel.Panel',{ renderTo: Ext.getBody(), data: {}, listeners:{ afterrender:function(){ var…
XenoN
  • 984
  • 1
  • 10
  • 23
9
votes
1 answer

Ext.js 4.x Dock-able window as tab

Has anyone seen an implementation or plugin for extjs where you can "pull off" or "dock" tabs/windows the way you can with a browser? Is it even possible? Searching has not revealed much but I did come across a proposed solution in an older…
David
  • 554
  • 3
  • 15
9
votes
2 answers

Extending controller in ExtJS 4 MVC application

I building my ExtJS 4 application following the MVC structure. I want to make an extendable grid MyGrid with some functionality that I can reuse several times. Therefore, I guess, it should have its own controller which is also extended, so that the…
Louis
  • 822
  • 9
  • 12
9
votes
2 answers

ExtJs TreeGrid with editor column. Exists?

I need an ability to edit values in a grid column of a treegrid. Simply adding a editor to the column's config didn't helped. I'm using ExtJs4 treepanel component. Any ideas?
Andrey Selitsky
  • 2,584
  • 3
  • 28
  • 42
9
votes
8 answers

Check if a store (or records) have been edited?

I have a Grid Panel, which when I leave the page, I want a check to see if any items in the store (or iterate through models/records) to check if there are any unsaved changes/additions. I initially tried using panel.getStore().getNewRecords() for…
Drew
  • 1,687
  • 5
  • 25
  • 46
9
votes
1 answer

ExtJS 4 - How to conditionally edit a cell in a grid?

I have a grid panel using cell editing plugin. In this grid panel, I want conditional editing on a cell in following manner: When a user clicks on the cell to edit, there should be confirm dialog shown - "Do you want to edit the cell?" - if he…
netemp
  • 4,115
  • 12
  • 43
  • 63