PDA

View Full Version : show/update the grid/field when date is selected



loopb
29 Dec 2009, 5:14 AM
i need help with something
i have datepicker like this:



Ext.onReady(function(){

Ext.QuickTips.init();

var dr = new Ext.form.DateField({
readOnly: false,
id: 'ddt',
listeners: {
'select' : {
fn: function(field, date) {
Ext.Msg.alert('Status', ' date: ' + document.getElementById('ddt').value);
}
}
}
});

dr.render('dr');

});


i will have this on a form and i want do to something like this:
then i select the date my datagrid or fields on my form next to the date picker are showing from the mysql database; i can now update them.

can somene help with that

sory for english.