Results 1 to 3 of 3

Thread: can we have store mapped to textfield Like we can for selectfield

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    19
    Answers
    1
    Vote Rating
    0
      0  

    Default Answered: can we have store mapped to textfield Like we can for selectfield

    Can we have Stores mapped to Textfield directly like we can for xtype :'selectfield'
    Like
    {
    xtype : 'selectfield',
    name:'Results',
    label:'Results ',
    storeBstore,
    valueField : 'TotalMark',
    displayField : 'TotalMark'
    }
    is possible for
    {
    xtype : 'textfield',
    name:'Results',
    label:'Results ',
    storeBstore,
    valueField : 'TotalMark',
    displayField : 'TotalMark'
    }
    I have a jason request which always returns one record and i wnat to display it on Field form label
    Also is there a label field xtype ??

  2. No but you can load a store and then use loadRecord on the form

  3. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,029
    Answers
    3976
    Vote Rating
    1367
      0  

    Default

    No but you can load a store and then use loadRecord on the form
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  4. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    19
    Answers
    1
    Vote Rating
    0
      0  

    Default

    I went with creating Table and list, that helped my need,

Tags for this Thread

Posting Permissions

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