Questions tagged [extjs4.2]

Warning: only use this tag along with the generic extjs tag. Otherwise your question will not be seen by the many thousands following extjs

See for more information.

1542 questions
16
votes
2 answers

What is Ext.namespace, how should we use them?

I came across to Ext.namespace() in the project that I am working on. I looked in Sencha's website and the explanation was not very helpful. This is what they are saying: Creates namespaces to be used for scoping variables and classes so that…
Brian
  • 4,623
  • 8
  • 35
  • 54
15
votes
2 answers

extjs - how correctly call a controller method from another controller or closure

I'm new to extjs and I'm using the MVC architecture. When my application references a method of a controller, I do it that way (in MyApp.Application): Mb.app.getController('Main').myMethod(); It is already long, but I think this is the way to…
Lorenz Meyer
  • 17,418
  • 21
  • 68
  • 109
12
votes
1 answer

What is the use of initComponent function in extjs4.1?

Can anybody tell me what the use of the initComponent function is in extjs4.1? Please provide an example Thanks
mohan
  • 11,969
  • 29
  • 102
  • 172
11
votes
1 answer

Extjs: Force a component to re-render

I have a custom component in ExtJs that is a form field (GridField). It displays a grid as a form field and works as expected. The observations are as follows: When the form is rendered alone (eg. in a window or the first panel in a card layout,…
ritcoder
  • 3,064
  • 9
  • 38
  • 60
11
votes
3 answers

Extjs 4.2: How to send parameters properly in a Ext.Ajax.Request POST

I have to do a POST from my ExtJs script in order to delete something from my DB: Ext.Ajax.request({ url: 'deleteRole.html', method: 'POST', headers: {'Content-Type': 'text/html'}, waitTitle: 'Connecting', waitMsg:…
mannuk
  • 1,200
  • 5
  • 19
  • 38
11
votes
2 answers

Can you please explain .el, getEl(), Ext.get() in detail?

I am new to Sencha ExtJs I did not understand the line Ext.getCmp('component_id').getEl().hide();. what is the use of .getEl(). Can i write Ext.getCmp('component_id').hide(); directly? And explain me about .el, Ext.get() also.
Sivakumar
  • 1,427
  • 2
  • 17
  • 35
10
votes
5 answers

How to send extra parameters when loading a store to a combobox in ExtJS 4?

How do I send extra parameters when using a store for a combobox in ExtJS 4? I know that I can use "extraParams" in the proxy-settings, but that will affect ALL elements that is using the same store. I.e if I have a Grid that is using a store called…
Daniele Testa
  • 943
  • 3
  • 9
  • 24
10
votes
4 answers

ExtJs Neptune theme

I'm trying to change default theme in ExtJs 4.2 to Neptune custom theme. How to make it for debugging? xxx
Nail Shakirov
  • 654
  • 1
  • 8
  • 17
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
  • 17,418
  • 21
  • 68
  • 109
9
votes
3 answers

How can i open popup window in ExtJS with formpanel only

I have the Form panel which constains the form with fields. Now on click of button , i am opening the window and then adding form as item in window like this win = new Ext.Window({ title: 'Add', layout: 'fit', autoScroll: true, y:…
user191542
  • 275
  • 1
  • 6
  • 17
9
votes
3 answers

Prevent Rendering (hide and/or disable) of a Component at construction time

Background: Our app is always packed as a whole but through the users access some serverside actions may be restricted. We know which actions are allowed the time the app starts. We now want to hide all the views (panels, buttons, etc) from the user…
JJR
  • 763
  • 1
  • 12
  • 32
9
votes
4 answers

Updating a field in a record dyanamically in extjs

Scenario I want to update the column data of particular record in grid having store with static data. Here is my store: extend : 'Ext.data.Store', model : 'MyModel', autoLoad:true, proxy: { type: 'ajax', url: 'app/data/data.json', …
Dev
  • 3,714
  • 3
  • 22
  • 40
8
votes
1 answer

Sorting a column in a ExtJS TreePanel changes order of records of the nodes not just leafs

I have managed to implement a treepanel and everything seems to be working. I have data like so ( see below). My fields I "name" which holds below things like "ItemA", "ProductA" which are nodes and the "Iron" which is a leaf and a property called…
Martin
  • 22,234
  • 53
  • 190
  • 309
8
votes
3 answers

Ext.isIE return false in IE 11

When I try to use Ext.isIE in IE11 i get false the returning value. And then during the debug my code I see that I get the following error: JavaScript Error - Msg:Invalid argument., my extjs's version is: 4,2
Vahe Akhsakhalyan
  • 1,495
  • 2
  • 19
  • 32
8
votes
1 answer

How to set editor for a column programmatically in a grid

I have a Ext.grid.Panel with a set of columns. This grid is filtered, and depending on the filter I would like to define an editor for a column. My grid: Ext.define('Mb.view.MyPanel', { extend: 'Ext.grid.Panel', columns: [ {text:…
Lorenz Meyer
  • 17,418
  • 21
  • 68
  • 109
1
2 3
99 100