1. #41
    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 lossendae View Post
    Hello,

    Is it possible to add new value on the fly with this code.
    I'm not sure I understand your question - do you mean add values to the component via code rather than user interaction? if this is the case, then Yes absolutely - this is demonstrated on the examples.

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

      0  

    Default


    Updated the first post here with a new version containing:

    A few minor bug fixes and a maintenance release to make compatible with Ext 3.0.1

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

      0  

    Default


    UPDATE 07/09/2009

    *NEW* Remote compatability - you are no longer limited to a local store!
    Multiple bug fixes (many browser version specific).

    Updated the First Post Here and uploaded new attachment.
    ----------------------------------------------------------------------

    Please see the new example page for 2 remote store demo's.

    Note. There are still a few small refactorings that I would like to do, but I'm primarily concerned with getting bug reports and some feedback on the remote functionality as I work towards releasing the current features as a stable version 1 release.

    Thanks,

    Dan

  4. #44
    Sencha User
    Join Date
    May 2008
    Posts
    73
    Vote Rating
    1
    prometheus is on a distinguished road

      0  

    Lightbulb


    Hello to developer,
    Demo looks very good as previous comments sad many times before, i`m just looking it but have a little problem. If you use button BasicForm.getValues() you could see the resulted parameters which are multiple values for one variable. If I should have an advice, please create another parameter generating solution which generates the parameter list with leading "[]" after all items, because the currently available list in PHP interprets as a single value rather than an array of values.

    For example:
    Current version returned with: states=AL&states=AR&states=FL
    My advice is: states[]=AL&states[]=AR&states[]=FL

    Thank you for your time, sorry for my english,

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

      0  

    Default


    Prometheus, when developing with PHP, you must append square brackets to the name of form fields being submitted as Arrays - this component is no different:

    Name your component states[]

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

      0  

    Default


    I've attached a new version to the first post here.

    Summary of changes:

    Added 'clear' event.
    Added a 'record' param to the addItem and removeItem events.
    Added 'supressClearValueRemoveEvents' config.
    Added fix to escape internal regexp.
    Added new 'supressEvents' param to clearValue method.
    Removed docs for removeAllItems method - clearValue should be used instead.
    Added addItems method.
    Fixed scope issue in getValueEx method.
    Fix to provide an originalValue (and fix reset) when remote store used.

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

      0  

    Default


    I've updated the first post here with a new version containing the following changes:

    Fix to work around Ext 3.0.0 bug - store load event not providing params to callback.
    Fix to allow store to be provided as an xtype.
    Fix to clean up after prevention of 'remove' events during clearValue.

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

      0  

    Default


    Update:

    Fix to prevent submission of empty value when doing a raw form submit.
    Fix for IE8 error during transform.
    Inclusion of superboxselect-gray-extend.css from the extended gray theme (Thanks Galdaka)


    Ext 2 Example:

    http://technomedia.co.uk/SuperBoxSelect/examples.html

    Ext 3 Example:
    http://technomedia.co.uk/SuperBoxSelect/examples3.html

    Ext 3 Extended Gray Theme Example:
    http://www.technomedia.co.uk/SuperBo...ples3gray.html

    Remote Store Example:
    http://technomedia.co.uk/SuperBoxSel...lesRemote.html

    Download
    Attachment 16454

  9. #49
    Ext User
    Join Date
    Feb 2009
    Posts
    11
    Vote Rating
    0
    mathec is on a distinguished road

      0  

    Default Grid Cell Editor

    Grid Cell Editor


    Hi All,

    I'm trying to use the SuperBoxSelect as a grid cell editor. Besides the basic data transformations, does anyone know what needs to be done (general approach) for getting the editor to render properly in the cell? For example, currently it will display but selected items aren't visible in the editor and once you've used it once, the dropdown button disappears. It does allow you to select values however. But you just don't see them until you're done editing.

    I'm sure a little customization is required of the control but I'm not sure even where to start. Any guidance greatly appreciated!

  10. #50
    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 mathec View Post
    Hi All,

    I'm trying to use the SuperBoxSelect as a grid cell editor. Besides the basic data transformations, does anyone know what needs to be done (general approach) for getting the editor to render properly in the cell? For example, currently it will display but selected items aren't visible in the editor and once you've used it once, the dropdown button disappears. It does allow you to select values however. But you just don't see them until you're done editing.

    I'm sure a little customization is required of the control but I'm not sure even where to start. Any guidance greatly appreciated!
    Sorry mathec, it's not something I've done.

    I think it would require more than a little customization too - the html structure of the component and it's items would need some re-structuring for this scenario, and the functionality (keyboard handlers etc) is likely to conflict too.

    Maybe for a future version.

Thread Participants: 95

  1. Animal (3 Posts)
  2. jay@moduscreate.com (1 Post)
  3. Condor (1 Post)
  4. stever (1 Post)
  5. mystix (5 Posts)
  6. MD (1 Post)
  7. JorisA (1 Post)
  8. randomY (1 Post)
  9. DigitalSkyline (1 Post)
  10. sj137 (3 Posts)
  11. boggle (1 Post)
  12. danh2000 (71 Posts)
  13. ostghost (1 Post)
  14. lossendae (1 Post)
  15. ZooKeeper (1 Post)
  16. greco (1 Post)
  17. Fredric Berling (1 Post)
  18. GraemeBryce (2 Posts)
  19. Strati (2 Posts)
  20. syscobra (2 Posts)
  21. boonkerz (4 Posts)
  22. Sesshomurai (3 Posts)
  23. shamansoft (1 Post)
  24. dorgan (2 Posts)
  25. mjhaston (1 Post)
  26. radtad (5 Posts)
  27. Joyfulbob (2 Posts)
  28. crysfel (1 Post)
  29. armandoxxx (2 Posts)
  30. jarlau (1 Post)
  31. lacco (1 Post)
  32. abraxxa (38 Posts)
  33. prometheus (1 Post)
  34. pops (1 Post)
  35. raphac (1 Post)
  36. Scorpie (2 Posts)
  37. supercharge2 (4 Posts)
  38. jmiguel (2 Posts)
  39. ash11tw (2 Posts)
  40. wojan (1 Post)
  41. ryzmen (1 Post)
  42. nmohler (2 Posts)
  43. wki01 (2 Posts)
  44. gacowarlock (1 Post)
  45. kora.kanchan (1 Post)
  46. senacle (3 Posts)
  47. genie_vn (1 Post)
  48. sergey.s (1 Post)
  49. Grolubao (10 Posts)
  50. mathec (1 Post)
  51. jackjia (1 Post)
  52. polydyne (1 Post)
  53. Antjac (1 Post)
  54. Thomas Triplet (1 Post)
  55. Gonfi (1 Post)
  56. kleins (1 Post)
  57. talha06 (1 Post)
  58. scishop (1 Post)
  59. eztam (2 Posts)
  60. frederickd (10 Posts)
  61. dusoo (2 Posts)
  62. iv_ekker (3 Posts)
  63. pym (1 Post)
  64. sudhirhv (3 Posts)
  65. lanhun (14 Posts)
  66. wcasado (1 Post)
  67. ramana_l_v (3 Posts)
  68. cq.yangyu@gmail.com (1 Post)
  69. siberian (1 Post)
  70. Tommi (4 Posts)
  71. rdblyth (2 Posts)
  72. devtig (3 Posts)
  73. markmansour (1 Post)
  74. dhiren.lodhia (1 Post)
  75. slamhan (1 Post)
  76. panter4 (1 Post)
  77. Korbin (2 Posts)
  78. istetska (1 Post)
  79. ian.young (1 Post)
  80. sebterzi (1 Post)
  81. ucoxk (1 Post)
  82. prakashr (1 Post)
  83. danilo.pederiva (1 Post)
  84. --miCZar-- (2 Posts)
  85. zozofoz (1 Post)
  86. spydercavern (1 Post)
  87. tvelykyy (1 Post)
  88. leorossi (3 Posts)
  89. revertTS (1 Post)
  90. joxzaren (1 Post)
  91. leduc (1 Post)
  92. deepthi_r (1 Post)
  93. qiankun (1 Post)
  94. Mr.Solomon (2 Posts)
  95. agony (1 Post)