May 1, 2012
Digital Transformation Group LinkedIn

Calculating the scrollbar height of an iFrame (Ext JS 4.x)

First you need to get the DOM element of the iFrame,  so assuming you have an iframe like ths following: var panel = Ext.create('Ext.form.Panel', { title: […]
April 30, 2012
Digital Transformation Group LinkedIn

Writing an asynchronous task that takes a parameter (Ext JS 4.x)

I couldn’t actually find an example of how to do this in any of the documentation, forums, or the rest of the internet so I resorted […]
April 27, 2012
Digital Transformation Group LinkedIn

Displaying an iFrame at 100% height and width in a dynamic Panel (Ext JS 4.x)

This ended up being pretty tricky. As it turns out you can use the html width attribute for the iFrame tag to set its width to […]
April 26, 2012
Digital Transformation Group LinkedIn

Resetting the selection in a combobox (Ext JS 4.x)

Resetting the selection in a combo box require the following three lines: myComboBox.clearValue(); myComboBox.applyEmptyText(); myComboBox.getPicker().getSelectionModel().doMultiSelect([], false);
April 26, 2012
Digital Transformation Group LinkedIn

Loading JSON data from a web service into a combobox (Ext JS 4.x)

Combo boxes don’t work like grids, in that you just can call the combo box “getStore().loadData” function and pass in the JSON data. I eventually found […]
April 26, 2012
Digital Transformation Group LinkedIn

What to include in app.js (Ext JS 4.x)

The following should be specified above the Ext.application declaration in app.js: Ext.Loader.setConfig({enabled:true}); Ext.require([             'Ext.data.Store',             'Ext.data.StoreManager',             'Ext.data.HasManyAssociation',             'Ext.data.BelongsToAssociation',             'Ext.container.Viewport',             'Ext.grid.*',             'Ext.util.*',             'Ext.state.*',             'Ext.form.*'         ]);   Ext.application({    name: […]
//]]>