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
11
votes
3 answers

Private members when extending a class using ExtJS

I have done some research on the ExtJS forum regarding private methods and fields inside a extended class, and I couldn't find any real answer to this. And when I say an extended class I mean something like this: Ext.ux.MyExtendedClass =…
Mariano Desanze
  • 7,847
  • 7
  • 46
  • 67
11
votes
3 answers

How to read and set a value of a specific cell in an ExtJS Grid?

I am beginning with ExtJS. I am trying to read a value from a cell that is selected I use an EditorGrid and the store looking like that : my_store = new Ext.data.JsonStore({ root: 'topics', totalProperty: 'totalCount', idProperty:…
Lou
  • 695
  • 2
  • 6
  • 10
11
votes
1 answer

Extjs: Force a component to re-render

I have a custom component in ExtJs that is a form field (GridField). It displays a grid as a form field and works as expected. The observations are as follows: When the form is rendered alone (eg. in a window or the first panel in a card layout,…
ritcoder
  • 3,274
  • 10
  • 42
  • 62
11
votes
5 answers

ExtJS debugging "[E] Layout run failed" (in a custom component)

I have developed a custom kind of combo box that uses a grid instead of the standard combo picker (mainly to benefit from buffered rendering with huge data sets). I am now trying to make it compatible with Ext 4.2.1 but I ran into this error: [E]…
rixo
  • 23,815
  • 4
  • 63
  • 68
11
votes
13 answers

Using Ext JS in ASP.NET

I don’t have advanced knowledge in JavaScript, and I am trying to learn how to use Ext JS framework in ASP.NET (C# or VB.NET) environment. I’ve got couple of samples, but was unable get the project working. Is there such as website or book so I can…
Mike
11
votes
5 answers

Hiding ExtJS Grid Column header

I understand I can hide grid column header using the code. #gridid .x-grid3-hd-row { display:none; } But I don't want to use any CSS change. How to do the same using JavaScript?
Madhu
  • 5,686
  • 9
  • 37
  • 53
11
votes
6 answers

extjs change grid cell background based on value

I applied a renderer to my grid-column, but the background color is not changing: renderer: function(value, meta) { if (parseInt(value) > 0) { meta.tdCls = 'category-matching'; return value; } else { meta.tdCls =…
Roman
  • 171
  • 1
  • 2
  • 16
11
votes
2 answers

Converting Date in Extjs

I have a Date string of following format: '31-OCT-2013' How do I convert this into Date of following format using Extjs 4: '08/31/2013' I am using IE8.
user204069
  • 1,215
  • 3
  • 19
  • 25
11
votes
4 answers

How to disable button Ext JS

I have a button with id of btnAdd and I want to disable it when some event is fired. The event occurs when some window is closed. So I tried the following code and it does not work. Ext.create('Ext.window.Window', { // Some initialization code…
Dimitri
  • 2,798
  • 7
  • 39
  • 59
11
votes
3 answers

Extjs 4.2: How to send parameters properly in a Ext.Ajax.Request POST

I have to do a POST from my ExtJs script in order to delete something from my DB: Ext.Ajax.request({ url: 'deleteRole.html', method: 'POST', headers: {'Content-Type': 'text/html'}, waitTitle: 'Connecting', waitMsg:…
mannuk
  • 1,259
  • 5
  • 21
  • 43
11
votes
2 answers

Can you please explain .el, getEl(), Ext.get() in detail?

I am new to Sencha ExtJs I did not understand the line Ext.getCmp('component_id').getEl().hide();. what is the use of .getEl(). Can i write Ext.getCmp('component_id').hide(); directly? And explain me about .el, Ext.get() also.
Sivakumar
  • 1,477
  • 2
  • 18
  • 35
11
votes
1 answer

Real world project structure with Sencha Architect

I am new to Sencha ExtJS and Architect MVC, but I know MVC and some other JQuery libraries in general. I want to ask when building a real-world system, what is the proper approach to layout an Sencha app structure in Architect 2? For example, we…
Tom
  • 15,781
  • 14
  • 69
  • 111
11
votes
2 answers

Always show the tip text of Slider in Extjs

In Extjs 4.1.1a, How to keep the tip text of the slider always visible? Currently, the tip text is being visible whenever the user drags the bar of the slider. I searched on docs but couldn't find any related concepts. If it is not documented or not…
Mr_Green
  • 40,727
  • 45
  • 159
  • 271
11
votes
6 answers

Is Ext JS's MVC an anti-pattern?

I work in a team of 25 developers. We use ExtJS MVC pattern of Sencha. But we believe that their definition of MVC is misleading. Maybe we might call their MVC an anti-pattern too. AMAIK, in MVC controller only knows the name or the path of the…
user1968030
11
votes
2 answers

Getting the active element within ExtJS?

Im trying to get the component that is active/focused at a given time. I already know that you can get a HTMLElement with the cross-browser javascript function document.activeElement. How can I cast this element to a Ext.Component or does ExtJs have…
A1rPun
  • 16,287
  • 7
  • 57
  • 90