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

      0  

    Default


    @nadim,

    I'm still unsure what you are trying to achieve - if you simply want to clear the values down then use the clearValue method intead of setValue with an empty string. If you don't want the remove event to fire for each removed item then pass true to clearValue

    PHP Code:
    var sbs Ext.getCmp('selector1');
    sbs.clearValue(true); 

    Does that do what you want?

  2. #222
    Ext User
    Join Date
    Aug 2009
    Posts
    15
    Vote Rating
    0
    nadim is on a distinguished road

      0  

    Default


    What I actually do is get the entire form and then set the entire form.
    So:
    formValues = this.formPanel.getForm().getValues();

    and then later:
    this.formPanel.getForm().setValues(formValues);

    I'm not ever calling .setValues(''), it's just sometimes that it the old value was blank. I suppose I could call .getValue() for each element in the form and then .setValue() to set it back, and if it's blank then call clearValue() instead. Is this what you would suggest?

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

      0  

    Default


    @nadim,

    This is exactly why I asked for a test case - you are providing code that doesn't actually match what are you are doing.

    I have no idea why you would suspendEvents, then reset, then set a blank value, then enable etc..

    I'm not able to help because I don't understand.

    If the component has a bug that you can show me with an isolated test case (that uses public methods) then I can debug it and provide a fix, otherwise I am sorry, I just don't know.

  4. #224
    Ext JS Premium Member
    Join Date
    Dec 2008
    Posts
    61
    Vote Rating
    0
    elderotaku is on a distinguished road

      0  

    Default Chrome Issue

    Chrome Issue


    First thank you for fixing the bug witht the text hiding if you hold it down.
    I have a different bug in Google Chrome. After 3 or 4 characters my text is being pushed behind the previously created item.

    I can't repeat the problem with your examples, so I was wondering if anyone else hads run into this problem, who might know what we are doing wrong.

    Thanks,

  5. #225
    Sencha User
    Join Date
    Dec 2007
    Location
    Budapest, Hungary
    Posts
    94
    Vote Rating
    1
    Zolcsi is on a distinguished road

      0  

    Default


    Very nice work, I'm definitely gonna use it.
    Thanks!

  6. #226
    Ext User
    Join Date
    Sep 2009
    Posts
    2
    Vote Rating
    0
    hongtj is on a distinguished road

      0  

    Question


    Firstly, this extension is amazing!!!

    Secondly, i got some problem in ie6 with the SuperBoxSelect released at 27/09/2009.
    Environment: Extjs 3.0, ie6, SuperBoxSelect in Ext.grid.EditorGridPanel

    After option, "Shade", is selected in ie6:
    ie6.JPG

    After option, "Shade", is selected in ff 3.5.3:
    firefox.JPG

    Anyone got idea for it???
    Many thanks.

  7. #227
    Ext User
    Join Date
    Oct 2009
    Posts
    2
    Vote Rating
    0
    matthewcrist is on a distinguished road

      0  

    Default


    I'm having an issue with setting values. I am retrieving an object of values and when I try to set them using setValuesEx() I only get one item added when there are four total. There aren't any errors showing up in the console.

    Code:
    var editInternalParty = new Ext.ux.form.SuperBoxSelect({
            allowBlank: false,
            allowAddNewData: true,
            msgTarget: 'under',
            renderFieldBtns: false,
            id: 'filepropEditInternalParty',
            xtype: 'superboxselect',
            fieldLabel: 'Organization(s)',
            emptyText: 'Enter an Organization name',
            resizable: true,
            name: 'editInternalParty',
            anchor: '100%',
            store: editOrgStore,
            displayField: 'nodeName',
            valueField: 'nodeId',
            styleField: 'style',
            extraItemCls: 'x-flag',
            extraItemStyle: 'border-width:2px',
            stackItems: true,
            queryParam: 'search_string',
            minChars: 1,
            queryDelay: 0,
            mode: 'remote'
        });
    Here's the code where I'm trying to set the value...

    Code:
       Ext.getCmp("filepropEditInternalParty").setValueEx([{nodeId: "12345", nodeName: "Test"},{nodeId: "23456", nodeName: "Test 2"}]);
    Since this is remote, I checked the console and only the first items is having a query run on it.

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

      0  

    Default


    @elderotaku,

    If it's not happening on my example pages, I wonder if you have some custom CSS that is causing this? Difficult to diagnose without seeing the issue - do you have a public test case available?

    @Zolcsi

    Glad you like it - thanks for the feedback.

    @hongtj

    Thanks for the feedback. I'm afraid I'm not currently supporting use of the component in an EditorGrid - maybe in a future version.

    @matthewcrist

    Thanks - I've just been playing with this - there was a bug which I've just fixed (I've also removed an unecessary trip to the server when setValueEx is used along with allowAddNewData).

    I'll release a new version here within 24 hours.

    Regards,

    Dan

  9. #229
    Ext User
    Join Date
    Oct 2009
    Posts
    2
    Vote Rating
    0
    matthewcrist is on a distinguished road

      0  

    Default


    Thanks for the heads up.

  10. #230
    Ext User
    Join Date
    Sep 2009
    Posts
    2
    Vote Rating
    0
    hongtj is on a distinguished road

      0  

    Default


    Quote Originally Posted by danh2000 View Post

    @hongtj

    Thanks for the feedback. I'm afraid I'm not currently supporting use of the component in an EditorGrid - maybe in a future version.

    I'll release a new version here within 24 hours.

    Regards,

    Dan
    Thanks Dan for your quick response.
    As I tested, the SuperBoxSelect, released at 27/09/2009, is work well on ff 3.5.3 and ie8 in an EditorGrid. Not test in ie7.
    It looks like my problem is a css issue in ie6, but i have no idea to fix it.

    Look forward to your new release!!!
    Look forward to your officially support for EditorGrid.

    Thanks and Regards.
    Kevin.

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