1. #11
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    Quote Originally Posted by sanjshah View Post
    Dan,

    Is there any chance of making the beta available for testing on our own apps?

    Thanks,

    Sanj
    Absolutely! I've attached a zip file to the first post.

    Let me know how you get on.

    Thanks.

    Dan

  2. #12
    Ext JS Premium Member
    Join Date
    Dec 2007
    Posts
    213
    Vote Rating
    0
    sanjshah is on a distinguished road

      0  

    Default


    Thanks Dan, I'll try out and pass any other comments on. But it looks great to me!



    Quote Originally Posted by danh2000 View Post
    Absolutely! I've attached a zip file to the first post.

    Let me know how you get on.

    Thanks.

    Dan

  3. #13
    Ext User
    Join Date
    Feb 2009
    Posts
    2
    Vote Rating
    0
    nonyus is on a distinguished road

      0  

    Default


    This component is very cool.

    But, I test to use it with an remote store.
    It's work badly.

    Can you help me to attribute defaults vlaues with an remote store ?

    Thanks

  4. #14
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    Quote Originally Posted by nonyus View Post
    This component is very cool.

    But, I test to use it with an remote store.
    It's work badly.

    Can you help me to attribute defaults vlaues with an remote store ?

    Thanks
    The remote option is not currently supported - partly due to the requirement to allow new item data (as in my example 2) and partly due to the whole round-trip nature of collecting the store data from the server..

    With a standard combo, it's only ever 1 value that's queried, but with this component if you performed a setValue call with 10 values - the records each have to be pulled back from the server.

    I have some ideas about handling remote I just don't know if it will work in practice yet, so watch this space.

    Dan

  5. #15
    Ext User Joe's Avatar
    Join Date
    Apr 2007
    Posts
    243
    Vote Rating
    0
    Joe is on a distinguished road

      0  

    Default very nice - thanks

    very nice - thanks


    Thanks for the very cool control!
    Joseph Francis,
    CoreLan / Meeting Consultants

  6. #16
    Ext User
    Join Date
    Feb 2009
    Posts
    2
    Vote Rating
    0
    nonyus is on a distinguished road

      0  

    Default


    OK, thanks Dan.

    I test to implement this. I don't say if this is the good way, I not good with javascript.

    I just add this code in the expand function (line 404), for filter the new load data :

    Code:
    var usedRecords = this.usedRecords;
    var valueField = this.valueField;
    this.store.on('load', function(store, records) {
      store.filterBy(function(record, id) {
        return (!usedRecords.containsKey(record.get(valueField)));
      }, this);
    });
    Say me, if this is a good way ?
    Attached Files

  7. #17
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    Quote Originally Posted by nonyus View Post
    OK, thanks Dan.

    I test to implement this. I don't say if this is the good way, I not good with javascript.

    I just add this code in the expand function (line 404), for filter the new load data :

    Code:
    var usedRecords = this.usedRecords;
    var valueField = this.valueField;
    this.store.on('load', function(store, records) {
      store.filterBy(function(record, id) {
        return (!usedRecords.containsKey(record.get(valueField)));
      }, this);
    });
    Say me, if this is a good way ?
    Hi nonyus,

    Thanks for posting again - there will be a bit more to it than that though as I need to accomodate for:

    The preventDuplicates and removeValuesFromStore config options, a shared data store and the ability for users to enter new data (when the allowAddNewData config is true).

    I did some testing yesterday and I know how I'll accomodate for this, but It will be a week or 2 until I release a new version (there are some other parts of the code that need refactoring too).

    I'm going away for a few days R&R today, but will post again here when I've made some progress.

    Quote Originally Posted by Joe View Post
    Thanks for the very cool control!
    Thanks for your feedback Joe

    Dan

  8. #18
    grgur's Avatar
    Join Date
    Aug 2007
    Location
    Split, Croatia
    Posts
    155
    Vote Rating
    24
    grgur has a spectacular aura about grgur has a spectacular aura about

      0  

    Default


    Excellent work!

    I'm looking forward to seeing it work for remote stores.

    Thumbs up!

  9. #19
    Sencha User
    Join Date
    Jan 2008
    Location
    Los Angeles
    Posts
    149
    Vote Rating
    1
    radtad is on a distinguished road

      0  

    Default


    I set something up for remote validation ( from the orginal facebook thread), but it got really annoying doing a 1 field lookup each time. So I was thinking this should only do a remote lookup on all fields onBlur. That way it doesn't send too many http requests and the user using it doesn't see the field jump around ( I had the displayFieldTpl displaying something slightly different then the input).

    A couple of other things that I added to original, that would be nice in here as well:
    1. Pattern matching (middle of the word, etc.)
    2. Comma separated list of values i.e. I'd like to be able to paste "california,delaware,texas" in the box and it should validate all three and turn them into boxes. I didn't paste this code, but I do have something if you'd like to see it. Maybe you can use some of it as your code looks a little cleaner than mine anyway
    3. An option that doesn't turn the text into a box until onBlur happens. I've had requests that it's somewhat annoying for the displayFieldTpl to change the field and expand it when they're still trying to type in the box (i.e. they type in an email <tad> and it displays "Tad Johnston (tad)"). It would be awesome to get something like this as an option.

    Hopefully all this makes sense....let me know if you want some of my awesome code to pick apart



    Quote Originally Posted by danh2000 View Post
    The remote option is not currently supported - partly due to the requirement to allow new item data (as in my example 2) and partly due to the whole round-trip nature of collecting the store data from the server..

    With a standard combo, it's only ever 1 value that's queried, but with this component if you performed a setValue call with 10 values - the records each have to be pulled back from the server.

    I have some ideas about handling remote I just don't know if it will work in practice yet, so watch this space.

    Dan

  10. #20
    Ext User
    Join Date
    Nov 2007
    Posts
    10
    Vote Rating
    0
    mishanian is on a distinguished road

      0  

    Default UTF8

    UTF8


    Wowww , Very Interesting.
    Is it possible to have it for UTF8 also?
    I have some Unicode Character to call (like chinese, Farsi, etc)

    Thanks in Advance.
    Mehran

Thread Participants: 119

  1. galdaka (9 Posts)
  2. aconran (1 Post)
  3. stever (4 Posts)
  4. dj (1 Post)
  5. mystix (18 Posts)
  6. MarkB (3 Posts)
  7. DrZog (1 Post)
  8. JorisA (2 Posts)
  9. jheid (3 Posts)
  10. Joe (1 Post)
  11. mschering (1 Post)
  12. gigel (1 Post)
  13. akannu (1 Post)
  14. phillipL (1 Post)
  15. badgerd (1 Post)
  16. cmendez21 (1 Post)
  17. mjlecomte (1 Post)
  18. grgur (1 Post)
  19. xantus (1 Post)
  20. garraS (3 Posts)
  21. vahid4134 (2 Posts)
  22. Lloyd K (2 Posts)
  23. boonkerz (3 Posts)
  24. crxtech (3 Posts)
  25. mishanian (7 Posts)
  26. fpw23 (1 Post)
  27. sanjshah (6 Posts)
  28. Zolcsi (1 Post)
  29. SharePat (1 Post)
  30. mjhaston (1 Post)
  31. radtad (16 Posts)
  32. Joyfulbob (2 Posts)
  33. kveeiv (1 Post)
  34. armandoxxx (2 Posts)
  35. imran (1 Post)
  36. Eric24 (1 Post)
  37. drunknmunky (1 Post)
  38. raphac (1 Post)
  39. charleshimmer (1 Post)
  40. frankthetank (4 Posts)
  41. qooleot (3 Posts)
  42. gianpaulo (1 Post)
  43. dennispg (9 Posts)
  44. dasnk (1 Post)
  45. grahamda (1 Post)
  46. sdavids (1 Post)
  47. jasonb885 (1 Post)
  48. wemerson.januario (1 Post)
  49. dizor (3 Posts)
  50. Stju (5 Posts)
  51. extjs_new (1 Post)
  52. senacle (1 Post)
  53. elderotaku (2 Posts)
  54. Dumas (1 Post)
  55. grzegorz.borkowski (13 Posts)
  56. bueth (1 Post)
  57. nonyus (2 Posts)
  58. travisbell (2 Posts)
  59. Jangla (2 Posts)
  60. woooop (2 Posts)
  61. MH61 (2 Posts)
  62. TDub (1 Post)
  63. antoniode (5 Posts)
  64. xiongzhijian51 (1 Post)
  65. l0ga4 (1 Post)
  66. nohurge (2 Posts)
  67. MarkBOneSmart (1 Post)
  68. The Transporter (2 Posts)
  69. swarnendude (1 Post)
  70. arconen (2 Posts)
  71. mratzloff (9 Posts)
  72. Tom23 (1 Post)
  73. nadim (15 Posts)
  74. hongtj (2 Posts)
  75. max.hauser (2 Posts)
  76. dcw (1 Post)
  77. pilotsnipes (2 Posts)
  78. matthewcrist (2 Posts)
  79. fargs (1 Post)
  80. dvuja2 (2 Posts)
  81. sudhirhv (1 Post)
  82. lanhun (2 Posts)
  83. galoch (1 Post)
  84. frrogoy (1 Post)
  85. tboswell (1 Post)
  86. ozum (5 Posts)
  87. scusyxx (1 Post)
  88. hoca (1 Post)
  89. jayasreepc (1 Post)
  90. Jensen (1 Post)
  91. icarey (5 Posts)
  92. mohan_b (1 Post)
  93. skbach_pointyhat (1 Post)
  94. timbonicus (3 Posts)
  95. rachid.abdessamad (1 Post)
  96. ajitmogra (1 Post)
  97. Korbin (1 Post)
  98. istetska (3 Posts)
  99. ian.young (1 Post)
  100. muncher (2 Posts)
  101. sebterzi (2 Posts)
  102. forestclown (1 Post)
  103. Akey (1 Post)
  104. pret (1 Post)
  105. OpnSrce (1 Post)
  106. sriramkumarp (1 Post)
  107. extjs-dev (4 Posts)
  108. mvoss (1 Post)
  109. thomaskee007 (1 Post)
  110. rajshinny (1 Post)
  111. masood (1 Post)
  112. sebholl (1 Post)
  113. forestkwan (1 Post)
  114. deepthi_r (1 Post)
  115. panshr (1 Post)
  116. brian.moeskau (1 Post)
  117. ldashevskiy (1 Post)
  118. lbilde (1 Post)
  119. aoyii (1 Post)

Tags for this Thread

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