Results 1 to 3 of 3

Thread: How to set the combo's valuefield into textfield ?

  1. #1
    Sencha User
    Join Date
    Oct 2010
    Location
    India
    Posts
    84

    Default How to set the combo's valuefield into textfield ?

    I am using combo and on select of combo i get the value of the selected item.Now i want to set that value into the textfield.
    How can i do that ??

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    Code:
    Ext.getCmp('id-of-textfield').setValue(value);

  3. #3
    Sencha User
    Join Date
    Oct 2010
    Location
    India
    Posts
    84

    Default

    It worked.Thank you sir...

Similar Threads

  1. HELP: grid combo on blur set valueField
    By johnstontrav in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 8 Sep 2010, 2:56 AM
  2. combobox set displayField valueField
    By sofway in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 30 Mar 2010, 9:41 PM
  3. Replies: 12
    Last Post: 16 Feb 2010, 12:51 AM
  4. combo valuefield problem
    By lalit_ce in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 11 Dec 2008, 12:46 AM
  5. ComboBox not returning valueField when value set on formLoad
    By kenITR in forum Ext 2.x: Help & Discussion
    Replies: 9
    Last Post: 6 May 2008, 6:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •