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,246
    Vote Rating
    86
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi