Hello !
i hope all of you are in great state of health , i have a prob , i want to show my labels of my text fields at the top of them. as shown in attached image file , please help me in this .
Best Regards
Hello !
i hope all of you are in great state of health , i have a prob , i want to show my labels of my text fields at the top of them. as shown in attached image file , please help me in this .
Best Regards
here you go!
http://jsfiddle.net/serju/P4aX9/1/
PHP Code:
Ext.create('Ext.container.Container', {
layout: {
type: 'hbox'
},
width: 600,
renderTo: Ext.getBody(),
defaults: {
labelWidth: 80,
labelAlign : 'top',
xtype : 'textfield'
},
items: [{
fieldLabel: 'Id'
},{
fieldLabel: 'Name'
},{
fieldLabel : 'City'
}]
});
You should config your textfield with labelAlign set to 'top'.
i am newbie so i have no idea , i need help of people like you at every single step. can you please show me some coding.
Best Regards
here you go!
http://jsfiddle.net/serju/P4aX9/1/
PHP Code:
Ext.create('Ext.container.Container', {
layout: {
type: 'hbox'
},
width: 600,
renderTo: Ext.getBody(),
defaults: {
labelWidth: 80,
labelAlign : 'top',
xtype : 'textfield'
},
items: [{
fieldLabel: 'Id'
},{
fieldLabel: 'Name'
},{
fieldLabel : 'City'
}]
});
thanks for your interest sir , but i am not using php , i am using asp.net .can you please do something in asp.net .thanks again sir.
Regards
that's pure EXTJS, Sir!![]()
that's all it is
Just within PHP tags, for better formating..
thanks for your valuable time and comments ,
God Bless You