Hi I am trying to develop a simple form in extjs, but the problem is I am unable to set the coordinates of my fields
actually, here in extjs when I develop a form say two
var uplift_box = new Ext.form.NumberField({
name:'uplift_box' ,
value:0 ,
allowblank:false ,
enableKeyEvents:true ,
fieldLabel:'UPLIFT BOX' });
var uplift_box2 = new Ext.form.NumberField({
name:'uplift_box2' ,
value:0 ,
allowblank:false ,
enableKeyEvents:true ,
fieldLabel:'UPLIFT2 BOX' });
var myform = new Ext.FormPanel({
//url: 'your.php',
//renderTo: Ext.getBody(),
collapsible:true,
frame:true,
bodyStyle:'',
title: 'Form Standard',
layout: {
type: 'form',
msgTarget: 'side'
},
region:'north',
//width: 250,
height:150,
items: [ uplift_box , uplift_box2 ]
});
these fields always displayed one below the other, how can I show them side by side with label shown