Questions tagged [extjs]

Sencha Ext JS is a JavaScript framework for building rich Internet applications (RIAs).

Sencha Ext JS

Sencha Ext JS provides a complete object-oriented framework for creating a desktop-like application that runs in a web browser or packaged as a native application. It manages object lifecycle, layouts, theming, data storage, Ajax communication and has a large library of component-driven UI widgets including charting capability.

Originally built as an add-on library for YUI, it has a modular architecture that developers can extend using JavaScript.

Resources

Notable Historical Events

  • 01-Jul-2015: With Ext JS 6, Sencha introduces a single framework for creating applications that run across all types of devices, from phones to tablets to desktops. This move combines the legacy Touch framework into the same project structure as Ext JS allowing for the sharing of resources.

  • 15-Apr-2014: Along with the release of version 5.0 Sencha Inc. officially dropped support for Internet Explorer versions 6 & 7 and only support 8 in "standards" mode. This marks a shift in favour of modern web-standards.

  • 15-Jun-2010: The merger of ExtJS with JQTouch and Raphaël was announced forming a new organisation called Sencha Inc. Ext JS continues to be available as a main product on the Sencha website together with Sencha Touch, Sencha GWT, Sencha Architect, Sencha Animator and Ext Core.

Version History

24873 questions
27
votes
4 answers

Error "User limit of inotify watches reached". ExtReact build

I installed ExtReact, with examples. When I run npm start I get an error: ERROR in [@extjs/reactor-webpack-plugin]: Error: [ERR] BUILD FAILED [ERR] com.sencha.exceptions.BasicException: User limit of inotify watches reached [ERR] [ERR] Total…
Sizuji
  • 868
  • 2
  • 9
  • 26
27
votes
3 answers

Reloading a json store with new parameters ExtJs Ext.data.JsonStore

I am currently having trouble of reloading a json store with new parameters. Here is my store: newsletters = new Ext.data.JsonStore({ url: '/newsletters/', root: 'results', fields: [ 'id', 'body' …
babadbee
  • 863
  • 5
  • 14
  • 18
27
votes
2 answers

Extjs grid panel with checkboxes

How i can create ExtJs grid panel with checkboxes like here.
edtsech
  • 1,167
  • 2
  • 11
  • 17
27
votes
5 answers

How do I get a ExtJS 4.1.X Bar Chart with a single bar to show that bar's label properly?

If you try the live code example in the documentation at: http://docs.sencha.com/ext-js/4-1/#!/api/Ext.chart.series.Bar More than one label looks beautiful: data: [ { 'name': 'metric one', 'data':5 }, { 'name': 'metric two', 'data':27…
Aaron Broad
  • 281
  • 3
  • 6
26
votes
3 answers

EXTJS 4 - Global exception listener

I have a situation where I am making ajax requests to a server from various Ext gridpanel etc. In an Admin area. The logged in user will be logged out if there is no activity for eg. 5 minutes which is normal. In this case the server sends back a…
user798612
  • 327
  • 2
  • 4
  • 5
26
votes
4 answers

ExtJS 4 Change grid store on the fly

Is it posible to change grid's store in ExtJS 4? For example, i have two models: User = Ext.define('User',{ extend: 'Ext.data.Model', [...], hasMany: 'Product' }); Product = Ext.define('Product',{ extend: 'Ext.data.Model', [...] }); and…
sunsay
  • 1,500
  • 2
  • 21
  • 28
26
votes
1 answer

Empty message in gridPanel

I'm using Extjs gridPanel to display data. I want to show "No data..." message in gridPanel when no data available. How to do this ?. I tried emptyText property but its not worked. I think emptyText is for gridView not for gridPanel. Please help me…
nani1216
  • 261
  • 1
  • 3
  • 4
26
votes
8 answers

Will ExtJS die?

I look at ExtJS, and it appears to provide many of the RIA features that more bulky suites such as Flex provide, without the flash requirement. However, as Open-source initiatiatives such as jQuery-UI continue, will ExtJS simply die at some point?…
Stefan Kendall
  • 66,414
  • 68
  • 253
  • 406
26
votes
2 answers

up() and down() versus Ext.getCmp()

I'm very confused which one I need to use for grep object between up() down() and Ext.getCmp(ID). For me, it is easier that define ID to object and retrieve the object by Ext.getCmp('ID') and the code looks more clean. For…
Expert wanna be
  • 10,218
  • 26
  • 105
  • 158
25
votes
2 answers

Where should I define global functions in ExtJS 4 MVC?

I need to define some functions which i can call everywhere in my app. What is the best approach to achieve this?
Julian Hollmann
  • 2,902
  • 2
  • 25
  • 44
25
votes
3 answers

How to set styles using ExtJS

I wanted to change the styles like color, font size, background, etc of an element or extJS widget using following code but none works: Ext.get('mydivid').setStyle({.......}); // does not work Ext.get('mydivid').applyStyle({.......}); // does…
Sarfraz
  • 377,238
  • 77
  • 533
  • 578
25
votes
4 answers

How to clear Ext JS store without affecting/deleting records in the server

I have a Ext JS grid store with autosave set to false. I want to clear ONLY the local store, without affecting/deleting records in the server. If I try store.removeAll(), then when the next store write occurs, all records are deleted. How to call…
Bdfy
  • 23,141
  • 55
  • 131
  • 179
25
votes
8 answers

Sencha Touch - looking for a good tutorial / getting started for a content application

I'm trying to build a mobile "content" application that will be used to display many pages of mostly text, using Sencha Touch (based on ExtJs). I'm familiar with JQuery & JQTouch; I've never used ExtJs before. What's the best/fastest way to get…
Bambax
  • 2,920
  • 6
  • 34
  • 43
24
votes
11 answers

ExtJS 4 - Mark a red asterisk on an required field

I have this problem where I need to add a red asterisk beside a fieldLabel when a field is marked as "required" (or allowBlank: false) In ExtJS3, we can have this hack easily by overriding Ext.layout.FormLayout as…
Lionel Chan
  • 7,894
  • 5
  • 40
  • 69
24
votes
1 answer

Extjs 4: Create an iFrame Window

I am in need of creating an iFrame Window in Extjs. Previously in ExtJS 3.x I would do this: bodyCfg: { tag: 'iframe' } But the Window Class of ExtJS 4 seems not to have a bodyCfg. Any ideas on how to make an iFrame ExtJS 4 Window?
neolaser
  • 6,722
  • 18
  • 57
  • 90