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

ExtJS 4: Understanding hasMany and belongsTo

I've been struggling to understand how to use hasMany and belongsTo for quite sometime. My understanding is hasMany is a 1:many relationship and belongsTo is a many:1 relationship--aside: so does that imply that if you have a hasMany relationship, a…
incutonez
  • 2,821
  • 6
  • 39
  • 77
6
votes
2 answers

How to clear the grid in Extjs

I have a GridStore in Extjs which can store records with two grid columns. I have a problem when one record exists in Grid, if i delete the grid its been deleted successfully in server side, but that still exists in Grid. Sample code: xtype:…
Java Learner
  • 271
  • 1
  • 8
  • 23
6
votes
3 answers

What is the reason for assigning this to a locale variable without a callback?

As far as I know assigning this to a variable is used within callbacks where the this scope may change. But digging through the ExtJS source I found it used in all sorts of functions but not always. So is there any reason that I would assign this to…
JJR
  • 763
  • 1
  • 12
  • 32
6
votes
1 answer

View Reference in Controller EXTJS 4

I am not able to get combobox value in a controller. The getter method of combobox view returns function i(){ return this.constructor.apply(this,arguments)||null } instead of view object instance. If I use var…
Rakesh Goyal
  • 2,947
  • 6
  • 33
  • 65
6
votes
5 answers

EXT 4.2 ComboBox grouping of results with XTemplate

I am trying to group results that I am getting from store to be displayed inside ComboBox . I have a combobox that looks like this: and I need it to look like this : That means grouped by category (order / invoice ). My combobox defined like…
Polina F.
  • 595
  • 10
  • 28
6
votes
2 answers

How to implement "Go to top" functionality?

I am working with ExtJS4 and looking for a way to implement "Go to top" functionality. i.e. On the click of "top" button, the view should scroll back to the top of the component. How can I achieve this in ExtJS?
user1722857
  • 877
  • 2
  • 18
  • 33
6
votes
4 answers

Rendering ExtJS 4+ MVC application in a html div - how-to?

All examples that I have found so far explain how to render ExtJS (4.2) MVC application within the "viewport", which in other words means full browser screen, and occupying whole HTML BODY. I would like to render application within the existing HTML…
ljgww
  • 3,254
  • 5
  • 16
  • 20
5
votes
3 answers

Removing records that exist in an array from ExtJS store

I have a store and an array. I want to remove records from the store if that record's value matches with values in the array. Following is is the code I am trying but it's not working. Can anyone suggest the correct way? 'store' is the actual store…
user1640256
  • 1,543
  • 7
  • 20
  • 42
5
votes
1 answer

How can I make the rowediting plugin in extjs to not add a row when I hit cancel?

Currently the rowediting plugin gives the option of update/cancel. When I hit the cancel button if it is a newly added row, I would like it to not add the new row. How can I achieve this? Here is the FIDDLE. Currently, with the rowediting, I am just…
would_like_to_be_anon
  • 1,399
  • 2
  • 25
  • 45
5
votes
3 answers

ext-all-debug.js vs ext-all-dev.js

What is the main difference between ext-all-debug.js and ext-all-dev.js? "ext-all-debug.js" is mainly used for development & debugging. Using "ext-all-dev.js" will have any advantage? Please clarify.
Renganathan M G
  • 4,289
  • 2
  • 27
  • 33
5
votes
1 answer

In ExtJS, how to handle master detail with updates to both tables

The problem I'm trying to find the best solution for involves the standard scenario of a master table (orders for example) and a details table (orderlines). Both in separate tables. From the server, I can produce both json nested data and two…
Peter Kellner
  • 12,326
  • 22
  • 80
  • 154
5
votes
1 answer

Extjs grid column header, add dropdown menu item to specific columns

I'm trying to add a button to the column header drop-down menus in my grid. However, I only want to add it to columns with certain itemId. So far I've got it working to add the button to all columns, see code below. I dont see where I could check…
alex9311
  • 1,126
  • 1
  • 16
  • 41
5
votes
1 answer

extjs 4.2.1 - storemanager.lookup returning undefined

I have a really simple program where I try to hook up a store to an Ext.panel.Grid. I can't seem to get the Ext.data.StoreManager.lookup() in my Main.js call to return anything other than 'undefined.' …
Android Noob
  • 3,040
  • 4
  • 29
  • 55
5
votes
1 answer

Visual Studio 2012 ExtJS IntelliSense

Is there a way to get ExtJS intelliSense in Visual Studio 2012? This combined with the new JavaScript support would make my ExtJS projects much easier to code.
5
votes
2 answers

How to fix build error com.sencha.exceptions.ExProcess in extjs4.1

I am getting the below exception when building the extjs4.1 project. Can anybody tell me how to avoid it? I am using sencha command version3.0. Using command sencha app build [ERR] D:\TestProduction\.sencha\app\build-impl.xml:213:…
mohan
  • 11,969
  • 29
  • 102
  • 172