PDA

View Full Version : how to set value to textfield in view



arunjoy
2 May 2012, 10:26 PM
need to display value in text field, i am able to display by tpl in view, i tried record.getData().name, its getting only in controller... plz help

mitchellsimoens
4 May 2012, 10:32 AM
Is the textfield a ST2 textfield or an <input> element in your template?

arunjoy
6 May 2012, 8:11 PM
ST2 textfield

arunjoy
6 May 2012, 10:01 PM
got answer i use Ext.getCmp('abc').setValue(record.getData().name);

arunjoy
6 May 2012, 10:02 PM
plz help for this issue
http://www.sencha.com/forum/showthread.php?200674-How-to-update-list