PDA

View Full Version : how to add key value pair in text field in extjs



@naresh
14 May 2013, 5:13 AM
hi
i have Ext.form.FormPanel and i want to add two text field in same aline in which i can put key in one and value in another. and add option is also their if i click add button another 2 text field open .



please suggest me how can i do this type of requirement .


thanks
naresh

mitchellsimoens
15 May 2013, 4:58 PM
You should be able to use a CompositeField.

@naresh
16 May 2013, 9:20 AM
thanks ,
can u give me some example code