Study/Ext JS2011. 7. 8. 09:14
Posted by 굥쓰
Study/Ext JS2011. 6. 6. 15:00



http://dev.sencha.com/deploy/ext-3.3.1/examples/form/vbox-form.html
Posted by 굥쓰
Study/Ext JS2011. 5. 20. 17:56
/*
Example.TestPropertyGrid = new Ext.grid.PropertyGrid({
    nameText: '입력항목',
    width: 300,
    autoHeight: true,
    viewConfig: {
        forceFit: true
    }
});

Example.TestPropertyGrid.setSource({
    '갱신여부': '신규',
    '승인여부': '예'
});
*/

/*
var propertyGrid = new Ext.grid.PropertyGrid({
    title: 'Properties Grid',
    id: 'propGrid',
    autoHeight: true,
    width: 300,
    viewConfig: {
        forceFit: true
    },
//    renderTo: 'grid-ct',
    source: {} //initialize source config object
});

var propertyStore = new Ext.data.JsonStore({
    autoLoad: true,  //autoload the data
    url: 'getproperties.php',
    root: 'props',
    fields: ['First name', 'Last name', 'E-mail'],
    listeners: {
        load: {
            fn: function (store, records, options) {
                // get the property grid component
                var propGrid = Ext.getCmp('propGrid');
                // make sure the property grid exists
                if (propGrid) {
                    // populate the property grid with store data
                    propGrid.setSource(store.getAt(0).data);
                }
            }
        }
    }
}); 
*/
Posted by 굥쓰
Study/Ext JS2011. 5. 20. 14:51
출처 : http://stackoverflow.com/questions/3488228/config-sample-in-extjs


var configObject = {
   xtype
: 'label',
   width
: 50,
   text  
: 'some Text'
}
//create a panel
new Ext.Panel({
    id
: 'someID',
    items
: [
    configObject
,
   
{
       xtype
: 'textfield'
   
},
    configObject
,
   
{
      xtype
: 'radio'<br>
   
}
   
]
})

Or:

new Ext.form.Label(configObject);
Posted by 굥쓰
Study/Ext JS2011. 5. 3. 09:42
Posted by 굥쓰
Study/Ext JS2011. 4. 28. 11:34
Posted by 굥쓰
Study/Ext JS2011. 4. 28. 11:33
Posted by 굥쓰
Study/Ext JS2011. 4. 28. 11:25
Posted by 굥쓰
Study/Ext JS2011. 4. 28. 11:23
Posted by 굥쓰
Study/Ext JS2011. 4. 28. 11:17
Posted by 굥쓰