Component for selecting multiple items in Ext

April 8th, 2009 · No Comments

Ext already provides a component to select multiple items. The thing I do not like about it is that it covers too much space on the screen.
Therefore I thought of a component that initially looks like a combo box and then opens a new window to let the user select the items.
As a nice example [...]

[Read more →]

Topics: · , , , , , ,

Getting values from a form containing combos in Ext

April 7th, 2009 · 1 Comment

Actually it is pretty easy to get the values of all fields of a form in Ext: You just have to call the getValues() method of the BasicForm.
The problem with that approach is that it just takes the values directly from the DOM and is not calling the getValue() for each field (Which I assumed). [...]

[Read more →]

Topics: · , , ,

Country selector with flag images in ExtJS

April 1st, 2009 · 2 Comments

Based on the ExtJS-Tutorial on how to build a combo box with an icon, I built a component that can be used as a country selector in ExtJS.
Here you can find the code of the component:

Ext.ns(’Extreme.components’);
 
Extreme.components.CountryCombo = Ext.extend(Ext.form.ComboBox, {
constructor: function(config){
var data;
[...]

[Read more →]

Topics: · , , , , ,