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

slimScroll bar in ExtJS 4

I need to customize my scroll bar. How to do that? I've a simple gird panel. I want a slimScroll bar..... If it is only possible through JQuery, how to call jquery for slimScroll bar? This is what I got so…
Zakaria Imtiaz
  • 539
  • 5
  • 17
2
votes
1 answer

Extjs hasOne association local mode

I try to implement hasOne association in ExtJs 4. I use associationKey to load related model. For example I have Person model. Some people may have spouse, so server side response with nested data like: ... spouse: { id: 5, name: ... …
Luft-on
  • 179
  • 1
  • 13
2
votes
2 answers

Sencha Touch & ExtJS profiles for desktop and mobile in one web project/vhost?

I'm creating a web application with desktop and mobile versions using ExtJS and Sencha Touch. ExtJS 4 and Sencha Touch 2 use an MVC approach, and Sencha Touch 2 incorporates "profiles" for different devices (iPhone, tablet, etc.). ExtJs 4, however,…
2
votes
1 answer

Ext.dd.DragZone for a grid (multiple items) GetDragData

I don't know if someone could help me with this. I've been trying all afternoon and I could not get it right. I have defined a DragZone for a grid... Ext.define('Timetabling.view.ItStudentsDragZone', { extend : 'Ext.dd.DragZone', …
Xisco
  • 41
  • 4
2
votes
1 answer

ExtJS controller probelem. Uncaught TypeError: Object [object Object] has no method 'setSortState'

T writing code using ExtJS4.0.1, MVC architecture. And when I develop main form I meet problem with search extension for web site. When I was trying to create new widget in controller, I need render result in subpanel. and so when I write sample…
rasulzhan
  • 63
  • 1
  • 6
2
votes
2 answers

What is a main difference between a plugin and a component in ExtJS?

What is a main difference between a plugin and a component in extjs ? When should I implement and use some behavior as a class and when as a plugin ?
Dejo
  • 2,078
  • 3
  • 26
  • 38
2
votes
2 answers

why the VTypes I defined will be triggered three times?

I want to check if the content of a textfield has exist in the database,so I define a VTypes: Ext.apply( Ext.form.field.VTypes,{ sampleSetExist: function(val, field) { alert('triggered'); var result; Ext.Ajax.request({ url:…
liu peng
  • 95
  • 1
  • 2
  • 10
2
votes
1 answer

how to get value of a node where a leaf is dropped in a tree

I have a tree panel where a leaf can be dropped to a node. I want to get the value of that node where the leaf is dropped. Doing this gets me the first node and not the node where I dropped the…
EagleFox
  • 1,367
  • 10
  • 34
  • 58
2
votes
0 answers

sencha command not creating compressed js

I am attempting to use sencha v2.0.0 Beta 3 to create compressed versions of my scripts. I have a file called mdisp.html which has the following references to ExtJS scripts:
Factor Three
  • 2,094
  • 5
  • 35
  • 51
2
votes
4 answers

user or profile tab icon is not visible

I am new to sencha touch and want to have three tabs icons i.e. Home, Profile/User and Camera. The home icon is currently visible but Profile/User is not. How can I add icon of profile/user and camera to tab in sencha touch? here is my code for…
Om3ga
  • 30,465
  • 43
  • 141
  • 221
2
votes
3 answers

extjs 4 and translation

I'm coding with extjs 4. I want to provide two language buttons for the French language and English language. I have googled the problem, but I didn't find a solution. I hope I will find a solution here.
Aminesrine
  • 2,082
  • 6
  • 35
  • 64
2
votes
1 answer

How can I load SVG dynamically in Extjs 4?

I need to load svg content dynamically, Extjs 4. The webpage is a live flight tracker, I need to draw the path of an airplane, so I need to update the SVG path dynamically. How can I do that? Thanks in advance.
icespace
  • 481
  • 9
  • 20
2
votes
1 answer

For what do I use the appProperty property?

I recently stumpled over the appProperty within the the Ext.app.Application class and wondered why would I use it. I would require access to App instance anyway to then access a variable that again contains the instance? Maybe I am stupied but for…
seba
  • 974
  • 2
  • 10
  • 30
2
votes
1 answer

What getActionEl( ) in extjs4 actually returns?

In ExtJS4 there is a new getActionEl( ) function for Ext.Component. There is no documentation for it. What the function returns?
Dejo
  • 2,078
  • 3
  • 26
  • 38
2
votes
1 answer

EXT JS How to drag a window - draggable

I have an EXT JS window. I have set it to as draggable =true. But i only want it to be dragged not all around the screen but within a limited portion of the screen. Like 2 CM(centimeters) to the left or Right. and 2 CM up and down. How can i achieve…
Sharon Watinsan
  • 9,620
  • 31
  • 96
  • 140