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
2
votes
1 answer

In ExtJS how do I load an object into a form field?

If I have a JSON response like, { "something": "foo", "subobject": { "id": "bar", "name": "baz" } } I am loading the response into a form using form.setValues(responseObject). If I have displayfield in the form that is…
James McMahon
  • 48,506
  • 64
  • 207
  • 283
2
votes
1 answer

Model validation before store sync

Listening on beforeSync event of store. Options parameter has hash of all records to be synchronized, broken down into create, update and destroy. I need to validate them against their model validation rules. Is it possible? I tried this but it…
tonymayoral
  • 4,797
  • 2
  • 26
  • 27
2
votes
1 answer

Building search application form and displaying result in grid upon submit in extjs-mvc

I am trying to build a search application using ExtJS. I have created dummy form to search for personal details. I have a php script connected to mysql DB. I am able to pass form parameters to php and able to get the return result in msg box. but I…
2
votes
1 answer

How to cancel event of spinner field in ExtJS 4.1?

I am developing application using ExtJS 4.1. I have one spinner field and I want to change value of that method programatically. I have set up listeners like change, spinup and spindown for this same spinner field. Now I would like to know how to…
Shekhar
  • 11,438
  • 36
  • 130
  • 186
2
votes
1 answer

How to change the height of a Ext.ProgressBar

I have a simple Ext.ProgressBar and need to double it's height which works but didn't scale the progress image, just the outer box. I thought OK, maybee it is to small and can't scale but it has a height of >800px (sencha original images). So how…
seba
  • 974
  • 2
  • 10
  • 30
2
votes
1 answer

Extjs Grid - Customize empty/undefined cell

I have a grid which displays data from database, sometimes some cells are empty because there is no data in that column in database. and sometimes the data is "undefined". So I need to show this text "No Data" in these two cases in the grid. I read…
Noon
  • 1,181
  • 6
  • 20
  • 38
2
votes
0 answers

Ext JS 4: Grid w/ GroupingSummary: print page per group

For an Ext JS 4.1 grid with GroupingSummary, I want to be able to print one page per group. I am able to get a working solution on Firefox by adding a row after each summary, and setting its @media print style to page-break-before:always. However,…
jacob
  • 2,762
  • 1
  • 20
  • 49
2
votes
1 answer

How to make HTML render properly into ExtJS tabs?

I am developing a simple JavaScript-based plugin architecture which allows for any JavaScript control from any framework (jQueryUI, ExtJS, etc). to be plugged into and reused on any web page. My plugins below happen to use ExtJS 4. The first plugin…
Chad Johnson
  • 21,215
  • 34
  • 109
  • 207
2
votes
3 answers

Ext-JS 4 dynamically creating controllers - code not working

Can you tell me why this gets me Cannot call substring of undefined. Cannot call method getModel of undefined. Ext.require( ['MyApp.controller.Country', 'MyApp.controller.CountryProperties'], // this auto-loads all…
user1509885
2
votes
2 answers

Extjs - Change default invalid field messageTarget on labelAble style

In extjs, is there any way to change a property for a specific type of control across the entire project from one place, essentially making it the default value for this property on all new instances of that class? In particular, I want to change…
2
votes
1 answer

EXTJS Remote Combobox

I have a combo box with a store getting data from a server via remote. My problem is that my pagination does not work. Here is a snippet of my code: Ext.define('EmployeeModel', { extend: 'Ext.data.Model', fields: [ {name:'id',…
oneofakind
  • 552
  • 17
  • 41
2
votes
1 answer

extjs 4 theming issues in IE9, gridbar color and buttons do not change

I have the following sass code and when I compile it everything works fine in Firefox and chrome. The only problem I have is in IE where the gridbar color is plain white as compared to the Firefox and Chrome(Blue). Is there a solution to it. I am…
Micheal
  • 2,272
  • 10
  • 49
  • 93
2
votes
1 answer

Set focus on form field in extjs when press alert ok button

I want set focus in a number field in extjs when I press alert ok button but i cant do it i try this system. here is my code Ext.Msg.alert("Invoice",'Invoice Id  '+invno + '  is not Available'); …
Omar Faruq
  • 1,220
  • 2
  • 12
  • 29
2
votes
2 answers

how to close timer when close window

i've set a timer in status bar. but the problem is that when i close the window , it finds error. how do i close the window without any error in extjs 4 ......... here is my view. it works var clock = Ext.create('Ext.toolbar.TextItem', { text:…
Zakaria Imtiaz
  • 539
  • 5
  • 17
2
votes
1 answer

How can I access a date typed field from an ExtJS JSonStore?

I've been trying to retrieve a date value and an integer value from the database, using the following code: var l_alsChampsMois, l_stoDonneesMois; try { l_alsChampsMois = [ {name: "date_mois", type: "date", dateFormat:…
jdl_sopra
  • 91
  • 1
  • 9