Results 1 to 3 of 3

Thread: Ext.form.field.ComboBox and displayTpl - HOW ???

  1. #1
    Sencha Premium Member
    Join Date
    Sep 2014
    Posts
    81
    Answers
    1

    Default Answered: Ext.form.field.ComboBox and displayTpl - HOW ???

    If I look at

    http://docs.sencha.com/extjs/6.2.0/c...example-usage-

    everything seems to be clear but when I try to change this example usage code somehow so that a displayTpl is used - I never maked it work (the list is always empty) ....... can anyone give me a simple xtemplate string HOW to make the example work using NO displayField defined but only a displayTpl ??????

    Thank you !!


  2. #2
    Sencha Premium User
    Join Date
    Feb 2011
    Location
    Cambridge, MA
    Posts
    1,295
    Answers
    16

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2014
    Posts
    81
    Answers
    1

    Default

    Thank you very much. The reason my example code did not work: either one set the "displayField" or you set "displayTpl" AND "tpl" config options. I removed the displayField config value, but did not set the tpl config value - only the displayTpl and that is not enough.

Similar Threads

  1. Replies: 2
    Last Post: 18 Sep 2015, 5:12 AM
  2. Replies: 1
    Last Post: 17 Dec 2014, 10:24 AM
  3. Replies: 1
    Last Post: 18 Feb 2014, 11:35 PM
  4. Include hyperlink as part of a combobox's displayTpl
    By marc.fearby in forum Sencha Ext JS Q&A
    Replies: 8
    Last Post: 30 Jan 2013, 2:52 PM
  5. ComboBox DisplayTpl shows HTML code
    By mjhaston in forum Ext: Q&A
    Replies: 3
    Last Post: 15 Dec 2012, 4:16 PM

Posting Permissions

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