1. #1
    Sencha User
    Join Date
    Jun 2008
    Posts
    43
    Vote Rating
    0
    soulgen is on a distinguished road

      0  

    Default How do Ext.form.Combo could accepts data begin/end with "<" and/or ">" char ?

    How do Ext.form.Combo could accepts data begin/end with "<" and/or ">" char ?


    Hi all, i have a combo with json data such as:

    Code:
    {
    	"success": true, 
    	"total_rows": 144, 
    	"root": [
    		{"cust_name": "<MICHELE>"},
    		{"cust_name": "HERONA"},
    		{"cust_name": "<MATTHEW"},
    		.....
    	]
    }
    Take a look at "cust_name" column. Its value sometime contain "<" and/or ">" char and sometime dont.
    The bad news is, that combo only render "HERONA" only, the rest is blank.

    So, how do Ext.form.Combo could accepts data begin/end with "<" and/or ">" char ?

  2. #2
    Sencha User
    Join Date
    Jun 2008
    Posts
    43
    Vote Rating
    0
    soulgen is on a distinguished road

      0  

    Default


    *bump

  3. #3
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    It does show the <> signs when you select the item, just not in the dropdown.

    You can fix that with:
    Code:
    tpl: '<tpl for="."><div class="x-combo-list-item">{myDisplayField:htmlEncode}</div></tpl>'

  4. #4
    Sencha User
    Join Date
    Jun 2008
    Posts
    43
    Vote Rating
    0
    soulgen is on a distinguished road

      0  

    Default


    Love it!
    Thx!

Similar Threads

  1. [DUPE-447] Ext.data.TreeStore firing "read" not "load"
    By benwhite in forum Sencha Touch 1.x: Bugs
    Replies: 1
    Last Post: 3 Nov 2010, 1:32 PM
  2. Replies: 3
    Last Post: 28 Oct 2009, 6:38 AM
  3. "datafield" and " radio" with load data in a Form
    By launort in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 10 Aug 2009, 7:03 AM
  4. replace the "south" with the "new Ext.StatusBar" in "layout:'border'"
    By ealpha in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 18 May 2008, 8:28 PM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar