PDA

View Full Version : Add forms to scrollpanel per Click a button



Flipfine
26 Jan 2012, 12:42 AM
Hi all,

I have a Scrollpanel in the app. That panel contains one form namely the fieldset. In this fieldset there are
5 other fields.

Ext.ux.TimePanel = Ext.extend(Ext.Panel,
{
id:'timeViewPanel',
cls: 'detailPane',
scroll: 'vertical',
fullscreen: true,
layout: {
type: 'vbox',
align: 'left'
},
items:[fieldsetTime ?? ]
});

And if I click a button I would add one, two, three and so on forms of the fieldset and show it
on the panel. Please could you help how I can realise that. Perhaps someone
have done the same.

Any help is my pleasure. thanks in advance