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.

1554 questions
6
votes
0 answers

ExtJS infinite loop on grid focus

We're using ExtJS 4.2 and ran into weird problem. There's a grouped grid panel from which we drag elements to a tree panel. In most cases everything is working fine, but sometimes for unknown reason wrong item is dragged or it doesn't happen at all.…
ExC
  • 69
  • 1
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
  • 3,241
  • 9
  • 43
  • 92
6
votes
3 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
  • 311
  • 2
  • 10
  • 26
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
  • 773
  • 2
  • 13
  • 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
  • 3,117
  • 8
  • 39
  • 69
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.
  • 629
  • 13
  • 32
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
  • 19
  • 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,418
  • 6
  • 19
  • 21
5
votes
1 answer

Downloading multiple files into a Zip file Javascript using data URI

I am using EXT JS 4.2 which has a panel which contains a export to CSV button. On clicking on it multiple (total six) files are downloaded. I want these files to be downloaded in a single ZIP file.
Prateek Ratnaker
  • 817
  • 11
  • 35
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,691
  • 7
  • 25
  • 48
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,639
  • 2
  • 29
  • 47
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
  • 14,748
  • 25
  • 102
  • 188
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,230
  • 1
  • 18
  • 42
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,271
  • 4
  • 34
  • 60
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.