-
12 May 2010 5:39 AM #1
NOOB::: How do i dynamicly update content
NOOB::: How do i dynamicly update content
Hi All,
Im new to ExtJS, Trying to build a dynamic page using Panels,
so i have 2 questions
1st. can i load a panel into another panel
2nd. how do i update the html content of a panel dynamically.
I have googled and look though doc's but i just cant find an simple answer
-
12 May 2010 6:31 AM #2
Done the first one,
Now jsut the second one to do.PHP Code:var viewport = new Ext.Veiwport({
layout: 'border',
items:[
new Ext.Panel({
title:'Navication',
applyTo:"menu",
items:[
new Ext.Panel({
width: '100%',
title: 'Management',
collapsible:true,
}),
new Ext.Panel({
width: '100%',
title: 'MySQL',
collapsible:true,
}),
new Ext.Panel({
width: '100%',
title: 'Apache',
collapsible:true,
}),
new Ext.Panel({
width: '100%',
title: 'PHP',
collapsible:true,
}),
new Ext.Panel({
width: '100%',
title: 'DNS',
collapsible:true,
})
]
})]
});
Last edited by barkermn01; 12 May 2010 at 7:12 AM. Reason: Done 1st one
-
12 May 2010 10:18 AM #3
Aaron Conran
@aconran
Sencha Architect Development Team


Reply With Quote