1. #31
    Sencha User
    Join Date
    Jun 2011
    Posts
    6
    Vote Rating
    0
    mahesh21688 is on a distinguished road

      0  

    Default


    Thanks for your help,

    The mistake that you point out for layout is just bcoz I shown you the main part of code

    with static store u mentioned to use is working fine, and I feel the BoxSelect is awesome. But still I am having problem in BoxSelect when using the data from URL in my store. Below is code for my store.

    Ext.define("Post1", {
    extend: 'Ext.data.Model',
    fields: [
    {name: 'name', mapping: 'name'}
    ]
    });

    var ds = Ext.create('Ext.data.Store', {
    model: 'Post1',
    proxy: {
    type: 'ajax',
    url : '/myURL/keywordDataServlet',
    method:'POST',
    reader: {
    type: 'json',
    root: 'rows'
    }
    }
    });

    As kunalshah6363 mentioned that first time data perfectly load into BoxSelect as shown in his image. But while selecting second value by typing it gives the earlier mentioned error.

    Thanks,
    Mahesh

  2. #32
    Sencha User
    Join Date
    Sep 2008
    Posts
    107
    Vote Rating
    0
    foxmarco is on a distinguished road

      0  

    Default


    It would be fantastic if someone could add the action 'add all' to select all items with one click. Plz i'm not able to do this..

    Thanks

  3. #33
    Ext JS Premium Member
    Join Date
    May 2008
    Location
    Austria, Vienna
    Posts
    213
    Vote Rating
    1
    abraxxa is on a distinguished road

      0  

    Default


    *subscribe*
    Thanks, I'll give it a try once I find time to port our app to ExtJS 4 which requires some UX to be ported first.

  4. #34
    Sencha User
    Join Date
    Dec 2010
    Posts
    46
    Vote Rating
    0
    navvn is on a distinguished road

      0  

    Default


    Is it possible to make this component to work as email suggest?
    There will be values from store but lets say you can also write a custom value and after ENTER or ',' it will automaticly be a box?

  5. #35
    Sencha Premium Member
    Join Date
    Mar 2008
    Posts
    92
    Vote Rating
    1
    kveeiv is on a distinguished road

      0  

    Default 1.0 release of Ext.ux.form.field.BoxSelect

    1.0 release of Ext.ux.form.field.BoxSelect


    1.0 has been released and the first post has been updated. Please see that post for a more complete list of updates. Many thanks go out to the many testing and coding contributions that have been made so far for this extension, with special thanks to kleins for his alternative implementation and his willingness to collaborate and merge together the features from both of these extensions.

    To respond directly to earlier feedback from this thread:

    Quote Originally Posted by zombeerose View Post
    * On a remote queryMode combo, if you load the store for the field and then call setValue on the field, the correct item appears in the input box. However, the first time a user expands the list, the combo reloads the store and any selected values are cleared. Can this be changed?
    Value management for remote queryModes should now be (hopefully) seamless. Thanks go out to kleins for his contributions and willingness to collaborate in merging our implementations together.

    Quote Originally Posted by zombeerose View Post
    * Feature request - add the ability to 'select' one/many of the items in the text box - similar to selecting a row in a grid. Beyond other things, this could allow for deleting multiple items. A standard selection model could be used.
    This is now possible through either shift-clicking, or using shift+left/right with the new keyboard navigation to select the items. Ctrl-A also now works for selecting all of the items, and backspace/delete will remove all of the selected items.

    Quote Originally Posted by derditze View Post
    Is this a (minor) bug .. or just me having overlooked something?:
    The message only shows up when I 'mouse-over' the field, otherwise no message is shown.
    Rendering of field validation messages should now work properly.

    Quote Originally Posted by purnama View Post
    how can i make a pre selection or initial value for the multiple select
    Values can now be set (through both the config.value configuration as well as setValue) by passing a single value, a string of values that will be split by delimiter, an array of values or an array of records. For queryMode remote stores with forceSelection true, if an unknown value is passed a load() call will be issued to the store to attempt to load these records. Please see the initial post and the linked examples page for more information.

    Quote Originally Posted by mahesh21688 View Post
    As kunalshah6363 mentioned that first time data perfectly load into BoxSelect as shown in his image. But while selecting second value by typing it gives the earlier mentioned error.
    I believe the underlying cause of the error you encountered is this bug. I believe the improved value management for queryMode 'remote' BoxSelect configurations will successfully avoid this framework error now though, as it should avoid the scenarios where that bug would show.

    Quote Originally Posted by navvn View Post
    Is it possible to make this component to work as email suggest?
    There will be values from store but lets say you can also write a custom value and after ENTER or ',' it will automaticly be a box?
    Excellent suggestion, and finally a use-case for forceSelection: false with multiSelect's that makes easy sense to me. This functionality has been added in 1.0. Please see the initial post and the linked examples page for more information.

  6. #36
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Phoenix, AZ
    Posts
    627
    Vote Rating
    10
    zombeerose will become famous soon enough zombeerose will become famous soon enough

      0  

    Default


    Awesome update! Thanks for the continued work on this.

    One more request - can you fire events when adding/removing items to the combo? It would be nice if the record involved was included as a param.

    Thx

  7. #37
    Sencha User
    Join Date
    Jul 2011
    Posts
    11
    Vote Rating
    0
    softwareguy is on a distinguished road

      0  

    Default


    Wow, just Wow!

  8. #38
    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


    kicks ass
    Grgur Grisogono
    Ext JS in Action SE co-author
    Exercising awesomeness at Modus Create - Official Sencha Partner

    Get in touch for Sencha Touch Training
    @ggrgur

  9. #39
    Sencha User
    Join Date
    Dec 2010
    Posts
    46
    Vote Rating
    0
    navvn is on a distinguished road

      0  

    Default


    superb but on more suggestion

    lets say someone is clicking on a boxselect field, typing an email address and doesnt confirm it by enter. Than he move to the second field (by mouse click or TA. Is it possible to make a written value a box after you move to another field?

    Also how to add an value to boxselect?
    setValue
    or
    setRawValue
    doesnt work in suggest example

  10. #40
    Sencha User
    Join Date
    Nov 2007
    Posts
    31
    Vote Rating
    0
    zacware is on a distinguished road

      0  

    Default


    This is wonderful. Great job. Thanks very much!

Thread Participants: 93

  1. scottw (1 Post)
  2. mysticav (2 Posts)
  3. JorisA (5 Posts)
  4. bobmanc (2 Posts)
  5. notjoshing (4 Posts)
  6. grgur (1 Post)
  7. ValterBorges (2 Posts)
  8. WebProgrammer (1 Post)
  9. Schlurcher (1 Post)
  10. zacware (2 Posts)
  11. ngd (8 Posts)
  12. radtad (2 Posts)
  13. zombeerose (13 Posts)
  14. nicholasnet (1 Post)
  15. themightychris (2 Posts)
  16. abraxxa (8 Posts)
  17. ttbgwt (1 Post)
  18. Psychokrameur (2 Posts)
  19. commanche (1 Post)
  20. ernst96 (2 Posts)
  21. omarc (1 Post)
  22. qooleot (1 Post)
  23. foxmarco (1 Post)
  24. christophe.geiser (1 Post)
  25. wki01 (1 Post)
  26. purnama (1 Post)
  27. mediacept (1 Post)
  28. bareflix (2 Posts)
  29. User 0815 (1 Post)
  30. yuuzai (1 Post)
  31. talha06 (1 Post)
  32. xjpmauricio (1 Post)
  33. scishop (2 Posts)
  34. Smalltalker (1 Post)
  35. hazimdikenli (2 Posts)
  36. raz0r1 (1 Post)
  37. McQuack_82 (1 Post)
  38. elilindner (1 Post)
  39. hexawing (1 Post)
  40. maneljn (3 Posts)
  41. Tim Toady (2 Posts)
  42. alonweiss (1 Post)
  43. ubong (1 Post)
  44. salarmehr (5 Posts)
  45. koblass (1 Post)
  46. Karthikeyan.rajmohan (2 Posts)
  47. Reimius (1 Post)
  48. CSC-Germany (1 Post)
  49. sankarbaluz (2 Posts)
  50. alaley (2 Posts)
  51. navvn (2 Posts)
  52. danCTS (2 Posts)
  53. bentoo42 (1 Post)
  54. jmaia (2 Posts)
  55. maslofer (1 Post)
  56. sunaku (3 Posts)
  57. mrinsan (1 Post)
  58. yumaa (1 Post)
  59. rsqw (2 Posts)
  60. mahesh21688 (3 Posts)
  61. derditze (3 Posts)
  62. kunalshah6363 (1 Post)
  63. NatVik (1 Post)
  64. softwareguy (1 Post)
  65. alicexyl (7 Posts)
  66. under_dog (1 Post)
  67. tommytob (2 Posts)
  68. charlie17 (5 Posts)
  69. nathanrice (1 Post)
  70. srarnold (3 Posts)
  71. ettavolt (1 Post)
  72. qnens (1 Post)
  73. nikadod (3 Posts)
  74. PanchiKB (1 Post)
  75. Hooped (1 Post)
  76. dedoz (3 Posts)
  77. metas (1 Post)
  78. lindemann-medien (2 Posts)
  79. nathanmelis (1 Post)
  80. cyborat (1 Post)
  81. Forn (1 Post)
  82. gaurav.rehan (1 Post)
  83. Avman2119 (3 Posts)
  84. zzhouag (5 Posts)
  85. andreas-spindler (3 Posts)
  86. Alvaro L (1 Post)
  87. hown (1 Post)
  88. edson.hh (2 Posts)
  89. QuantumScripting (1 Post)
  90. chungns (1 Post)
  91. Delphine (1 Post)
  92. folivieri (1 Post)
  93. Lpsmash (1 Post)

Tags for this Thread