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
22
votes
10 answers

The dangers of using ExtJS on a big project with RoR?

We are developing a considerably big application using Ruby on Rails framework (CRM system) and are considering to rewrite it to use ExtJS so that Rails would just do the data handling, while ExtJS would do all the browser heavylifting in a…
Milan Novota
  • 15,506
  • 7
  • 54
  • 62
21
votes
3 answers

Best way to open browser popup window containing ExtJS grid

In our ExtJS application, we have some menus and a tab panel. Clicking on a menuItem opens a grid. we have a requirement where user can open a display containing a grid in any of the two modes: Inline - Grid will open as a tab item in the…
Vikram
  • 8,235
  • 33
  • 47
21
votes
6 answers

Extjs get all store records

I have one question. Is it possible to get all records which are loaded in a store when the filters are being added to store? For example, if I load into the store 34 records and then apply filters and there is only 15 left, could I get those 34…
kuldarim
  • 1,096
  • 8
  • 21
  • 44
21
votes
3 answers

Extjs scrollable panel

I have a panel where I insert some HTML from the server: myPanel.update(response.responseText); But if this text is too big, none of the scrollbars appear to navigate the text. How can I configure a vertical scrollbar in this panel? This is my…
Beetlejuice
  • 4,292
  • 10
  • 58
  • 84
20
votes
1 answer

initComponent vs constructor when defining an object

When should I be using initComponent compared to constructor ? I have been using initComponent to extend my objects, but looking at the docs for Ext.define is see them using constructor all over then place. what is the…
Alex
  • 5,674
  • 7
  • 42
  • 65
20
votes
3 answers

How do I get the selected index of an ExtJS Combobox

What is the certified way to determine the index of the currently selected item in a ComboBox in ExtJS? Is there a difference on how to do this between ExtJS 3.x and 4? var combo = new Ext.form.ComboBox(config); var selectedIndex =…
Seb Nilsson
  • 26,200
  • 30
  • 103
  • 130
20
votes
6 answers

Extjs change fieldLabel after field is rendered. Any better solution?

I examined how ExtJs renders form's fields in dom. To change fieldLabel after field is rendered I find proper dom element and change its innerHTML; /** * Modifies field's label afrer field is rendered. * * @param {object} field * Some object that…
Zango
  • 2,387
  • 3
  • 19
  • 33
20
votes
5 answers

How i can create context menu for extjs grid

I can create context menu for tree and attach to 'contextmenu' event. Code: contextMenu = new Ext.menu.Menu({ items: [{ text: 'Edit', iconCls: 'edit', handler: edit },...] }) Ext.getCmp('tree-panel').on('contextmenu', function(node)…
edtsech
  • 1,167
  • 2
  • 11
  • 17
20
votes
5 answers

How to post json data with extJS

I'm a bit of a newb with both extJS and json. What is the most painless route to POSTing json data using extJS? I'm not really interested any GUI features, just using the framework to send some sample data.
maximus
  • 2,417
  • 5
  • 40
  • 56
20
votes
4 answers

Cordova and PhoneGap not working on Ubuntu 14.04

I installed Cordova and PhoneGap with npm: sudo npm install -g cordova sudo npm install -g phonegap however, both return the same error message: /usr/bin/env: node: No such file or directory
JP Ventura
  • 5,564
  • 6
  • 52
  • 69
20
votes
5 answers

How do I get an extjs combo box to act like a normal, html select box?

ExtJS provides a fancy combo-box that has lots of features - type ahead, allowing for random text entry, hiding all the entries in the drop-down list that don't star with the text that has already been entered. I don't want these features. I want a…
Spike Williams
  • 35,795
  • 13
  • 48
  • 60
20
votes
6 answers

Performing inheritance in JavaScript

Now while I know that you can not perform inheritance like you would in C#, I have seen it mentioned on the Internet that it is kind of possible. If it's not possible using plain JavaScript code then would it be possible using Ext JS and if so how?
RC1140
  • 8,423
  • 14
  • 48
  • 71
20
votes
2 answers

ExtJS: What's the point of requires?

I've been trying to figure out what requires does in Ext JS 4, and I can't seem to come up with a reasonable answer. Let's say I have the following code: app.js Ext.Loader.setConfig({ enabled: true }); Ext.Loader.setPath('Ext.ux',…
incutonez
  • 3,241
  • 9
  • 43
  • 92
19
votes
6 answers

How to add an empty item to ExtJS combobox?

I want to add and empty item (display value is blank, item height is kept as normal) to an Ext.form.ComboBox. I refered 2 links below to configure my combobox, but it still not display the empty…
Đinh Hồng Châu
  • 5,300
  • 15
  • 53
  • 90
19
votes
5 answers

Attach ExtJS MVC controllers to DOM elements, not components

Is there a way to use the Ext.app.Controller control() method, but pass in a DOM query? I have a page that contains standard links and would like to add a click handler to them even though they were not created as Ext Buttons. I've tried…
Nathan Voxland
  • 15,453
  • 2
  • 48
  • 64