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

How to use Sqlite in Sencha Touch 2

How can we use sqlite with sencha touch 2 for storing data in json coming from server?? Is there any samples on it??
anu
  • 458
  • 2
  • 13
  • 36
2
votes
2 answers

Sencha Combo DisplayTpl

In my combobox i have something like this: displayTpl: Ext.create('Ext.XTemplate', '', '{Nome} ({Valor})', '') It…
Miguel Teixeira
  • 783
  • 1
  • 10
  • 29
2
votes
5 answers

Binding a json array with combobox

I am getting a json array string as response from a page. I want to bind it with a combobox. This is the success block which gives me the json array string: The json array string looks like this: Please let me know hoe to bind this with the…
user182944
  • 7,897
  • 33
  • 108
  • 174
2
votes
1 answer

How to create surface for Ext js draw component

I created a rectangle by using this code: var drawComponent = Ext.create('Ext.draw.Component', { autoSize: true, viewBox: false, x: 200, y: 100, draggable: true, viewBox: false, renderTo: document.body }), surface =…
Surya Prakash Tumma
  • 2,153
  • 4
  • 27
  • 47
2
votes
2 answers

Extjs4 how to hide tool tip

I have a chart with tool tip. What i want is when i move the mouse over certain data the tooltip should hide and if i move it on someother data it should display again. My sample code is: tips = { trackMouse : true, width…
hsnGunda
  • 347
  • 1
  • 5
  • 20
2
votes
1 answer

Why select doesn't work in ExtJS (Ext.selection.Model)

I have a strange problem. In my code, I've this lines : var theId = operation.records[0].get('id'); console.log("theId: " + theId); // print 4 in firebug var index = gridStore.find('id', theId); console.log("index: " + index); // print 3 in…
jm130794
  • 31
  • 4
2
votes
1 answer

Extjs4 how can I disable, the rowediting plugin in a grid?

I want to disable the rowediting plugin depends on a combo selection, I have the grid reference. How can I disable it? (I try to destroy it, but then when I close the window, i get a "Uncaught TypeError: Cannot call method 'getView' of undefined ".
HyGy
  • 121
  • 3
  • 10
2
votes
1 answer

Ext.form.field.ComboBox tooltip on items

Below is the combo code: Ext.define('Grade', {     extend: 'Ext.data.Model',     fields: [         { name: 'id', type: 'int' },         { name: 'name', type: 'string' }     ] });   Ext.define('GradeCombo', {     extend:…
user182944
  • 7,897
  • 33
  • 108
  • 174
2
votes
2 answers

Getting out of the loop in EXTJS

I am a noob to the extjs 4 MVC design. I have the following code. onLaunch: function() { console.log("Launched Business Unit Controller"); var businessunitsStore = this.getStore('Businessunits'); …
swordfish
  • 4,899
  • 5
  • 33
  • 61
2
votes
1 answer

Extjs double click event on panel

I would like to add a double click event to a panel. How would I do that? So I have a panel with some html, no other events or clickable items, and I want to be able to capture a double click. Actually any component that can display a large chunk…
Jerinaw
  • 5,260
  • 7
  • 41
  • 54
2
votes
1 answer

how to tell a tree panel to render a record again?

I change some values of a tree node programmatically and want to show the Ext.tree.Panel the new value. With set() I get the record "dirty" but somehow this isn't enough to trigger the renderer to rerender the row.
K..
  • 4,044
  • 6
  • 40
  • 85
2
votes
2 answers

ExtJS 4 Tree Icons

How can I change the tree node icons on a per node basis when when the node supports expand/collapse? For example, I can set the expand/collapse icons globally for the tree using this CSS: #reports-tree .x-tree-icon-parent { background-image:…
Lloyd
  • 29,197
  • 4
  • 84
  • 98
2
votes
1 answer

Insert Component into the Tabpanel's tab in ExtJS 4

I want to make a tabpanel in ExtJS 4 with big tab that include my own Component (or XTemplete), is there some way to implement? thanks UPDATE : can change the custom tab's height by this link Change the Height of an ExtJS 4 Tab
pohchen
  • 1,803
  • 2
  • 14
  • 12
2
votes
1 answer

What ComponentQuery should I use for this example in this.control()?

I have: 1.) What should I type in this.control() for getting the reference to the grid panel? My plan is, when user double clicks one row, new tab is created. I already have code for creating new tabs but I just need to get reference to the grid…
user1630599
2
votes
1 answer

What method is fired on sort of store using remoteSort?

I sort of inherited a mess and only have a short time to fix it. My issue is that I am trying to fix a bug where we are using a store/grid with infinite scrolling. When a user tries to sort the grid a "loading" message appears and that is it. I…
Roloc
  • 1,910
  • 2
  • 13
  • 16
1 2 3
99
100