PDA

View Full Version : Panel refresh issue



Riaz
8 Mar 2011, 6:21 PM
I have two panels into the “Ext.extend(Ext.Panel, {...}”

Sample 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(),


}, [WeeklyTimesheet]

]
});




When value of “value” is changed, I want to refresh “WeeklyTimesheet” panel. How do I do that?

Riaz
10 Mar 2011, 8:03 PM
Any hints?

Riaz
16 Mar 2011, 8:13 PM
Any hints?
Should be easy but not working. Any idea from anybody?