Monday, 14 April 2014

Extjs-set width and height of combo box

                        xtype: 'combobox',
                        fieldLabel: 'User',
                        labelAlign: 'right',
                        name:'client',
                        displayField:'name',
                        valueField:'id',
                        listConfig:{              // set popup- width and height of combo 
                                                                        width:300,
                                                                         height:200,
                                                                         autoHeight:true
                                                        },
                                                      matchFieldWidth :false, //mandatory
                        store:Ext.create('MyApp.store.ClientStore'),

No comments:

Post a Comment