PDA

View Full Version : How do I get changing value from picker



Riaz
22 Mar 2011, 4:06 PM
I have a following code:



var WeeklyTimesheetFrame = Ext.extend(Ext.Panel, {
title: 'Timesheet',
iconCls: 'time',
fullscreen: true,
items: [{
xtype: "fieldset",
title: "Weekly Timesheet",
items: [{
xtype: "calendarpickerfield",
label: "Date",
dateFormat: 'd-m-Y',
value: new Date(),

listeners: {
render: function () {
var ChangingDate= ??? // How do I get changing date?
alert(ChangingDate);
}
}
//~Riaz-23rd11

}]
}


]
});



Ext.reg("jsWeeklyTimeSheetList", WeeklyTimesheetFrame);


How do I show changing value into the "ChangingDate" variable?