HZGN.COM
welcome to my space
X
Welcome to:hzgn.com
Search:  
NAVIGATION: Home >>
reload data combobox
Published by: mike 2009-01-07

Hello everyone, i have a problem to reload data for combobox,
my combobox use json data and I have a list of combobox, only the first combobox load data at the first time, the others will load datas after selecting the first combobox,
my code is like this:

//------------define combobox class-----------------

Planet SoC::
part of the data query as well as be able to reload the users selection later that it would be better to use Combo box rather than the Radio buttons as that
http://planet-soc.com/planet?page=84
HOME
Application.Combo = Ext.extend(Ext.form.ComboBox, {
border:false
,initComponent:function() {
Ext.apply(this, {
typeAhead: true,
//mode: 'local',
triggerAction: 'all',
selectOnFocus:true,
width:100
});

Application.Combo.superclass.initComponent.apply(t his, arguments);
}

,onRender:function() {

Application.Combo.superclass.onRender.apply(this, arguments);
}
});

Ext.reg('Combo', Application.Combo);


// -----------the first combobox----------------
//------------myComboRelease-----------------
var releasestore = new Ext.data.Store({
proxy: new Ext.data.HttpProxy({
url: './php/backend.php',
Dynamic comboBox and listgrid operations | Backbase Developer Network::
How to gather that data from listGrid? bb.command.load and reload the entire page. An html select is shown over a modal window
http://bdn.backbase.com/node/5167
HOME
List Pro 3 Fixed Problems - Technical Support - FarPoint Technologies::
with a simple style combo box control when saving and reloading the project. Only one columns data displays in the edit field now when you use the
http://www.fpoint.com/support/problems/list3.aspx
HOME
method: 'POST'
}),
baseParams:{task: "showRelease"},
reader: new Ext.data.JsonReader({
root: 'release'
}, [
{name: 'appli', mapping : 'Appli'},
{name: 'release', mapping : 'IdRelease'}
])
});

var myComboRelease = new Application.Combo(
{
store: releasestore,
displayField:'release',
fieldLabel:'Release',
emptyText:'Release'
}
);

// -----------after select reload data for other combobox----------------
myComboRelease.addListener('select', changeSys);
function changeSys() {
//alert('cp1');
var release = myComboRelease.getValue();
if(release!=''){
applistore.reload({params: {
release: release
}});

teamstore.load({params: {
release: release
}});

myComboTester.store.reload({params: {
release: release
}});
}
}



//------------myComboAppli-----------------

var applistore = new Ext.data.Store({
proxy: new Ext.data.HttpProxy({
url: './php/backend.php',
method: 'POST'
}),
baseParams:{task: "showAppli"
},

reader: new Ext.data.JsonReader({
root: 'appli'
//root: 'results',
//totalProperty: 'total'
}, [
{name: 'appli', mapping : 'application'}
//{name: 'appli', mapping : 'Appli'}
])
});


var myComboAppli = new Application.Combo(
{
store: applistore,
displayField:'appli',
fieldLabel:'Application',
emptyText:'Application'
}
);


the problem is after selecting the first combobox, the others have nothing in them, but i check the response from sever, there are datas come back,
post:
release RP5taskshowAppli
response:
{"appli":[{"application":"Eole"},{"application":"Gate"}]}

but when i click other combobox, if it's the first time click, there is nothing,
but the seconde time there will load datas, so where is my problem, how can i set
the combobox? thanks


Red Hat's Rough Recovery From CFO Exit
Windows Live Finds a New, Pre-installed Home

You are looking at:hzgn.com's reload data combobox, click hzgn.com to home
#If you have any other info about this subject , Please add it free.#
Your name:
E-mail:
Telphone:

Your comments:


If you have any other info about reload data combobox , Please add it free.
  • presidential letters
  • google backward links
  • why is http www jewelbasket com still pr 0 in the google search engine
  • why can 39 t i see my site when 39 pages within ireland 39 is ticked
  • food beverage business list for toms river and lakewood nj
  • website access
  • technology and eduction
  • image search
  • radiation from flying
  • toefl examination
  • getting listed in google
  • homeland security
  • web site
  • blogger features
  • how to find an available1800 toll free number to buy
  • valuable domain names
  • urgent not an ebay email
  • enron corp
  • cheapest domain name registration
  • online photography course
  • deaths locations of friends and family
  • proposal writing
  • pesticide residue related dairy milk quality assurance
  • why does it take longer to fly london to us than us to london
  • company submission to google com
  • seconds in a year
  • how to choose a domain name and which tld 39 s
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 hzgn.com        Site made:CFZ