Skip to content

Instantly share code, notes, and snippets.

@moduscreate
Created January 25, 2012 02:18
Show Gist options
  • Save moduscreate/1674203 to your computer and use it in GitHub Desktop.
Save moduscreate/1674203 to your computer and use it in GitHub Desktop.
Ext.define('MyApp.PersonDetail', {
extend : 'Ext.form.Panel',
xtype : 'persondetail',
config : {
items: [
{
xtype : 'fieldset',
items : [
{
label : 'First',
name : 'firstname',
xtype : 'textfield'
},
{
label : 'Last',
name : 'lastname',
xtype : 'textfield'
},
{
label : 'Street',
name : 'street',
xtype : 'textfield'
},
{
label : 'City',
name : 'city',
xtype : 'textfield'
},
{
label : 'State',
name : 'state',
xtype : 'textfield'
},
{
label : 'Zip',
name : 'zip',
xtype : 'textfield'
}
]
},
{
xtype : 'toolbar',
title : 'Person Details',
docked : 'top'
}
]
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment