1. #21
    Sencha User
    Join Date
    Mar 2007
    Posts
    464
    Vote Rating
    1
    JorisA is on a distinguished road

      0  

    Default


    Awesome!

  2. #22
    Sencha User mediacept's Avatar
    Join Date
    Jan 2009
    Posts
    27
    Vote Rating
    0
    mediacept is on a distinguished road

      0  

    Default


    Congratulation. Well done. I used it in my app and waiting for next releases. Good continuation.
    Best Regards,

    Ramzi Youssef
    MEDIACEPT Technology

  3. #23
    Sencha User
    Join Date
    Jun 2011
    Posts
    8
    Vote Rating
    0
    derditze is on a distinguished road

      0  

    Default allowBlank Msg won't show up

    allowBlank Msg won't show up


    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.

    Tx. again for your outstanding contribution!

    Best regards
    Klaus

  4. #24
    Sencha User
    Join Date
    Jun 2011
    Posts
    8
    Vote Rating
    0
    derditze is on a distinguished road

      0  

    Default here's what I overlooked:

    here's what I overlooked:


    Ext.onReady(function(){

    Ext.QuickTips.init();
    Ext.form.Field.prototype.msgTarget = 'side';

    ...

    });

  5. #25
    Sencha User
    Join Date
    Jun 2011
    Posts
    7
    Vote Rating
    0
    kunalshah6363 is on a distinguished road

      0  

    Default BoxSelect 0.5 is not working

    BoxSelect 0.5 is not working


    BoxSelect 5.0 is not working properly with my application. 1st value is selected but when i pressed 4 characters (minChars) boxselect control is hanged. Please refer the attachment.

    When i debug through chrome, i got the following errer.
    Uncaught TypeError: Cannot call method 'addCls' of null.

    Please help me to solve this.

    Thanks,
    Kunal
    Attached Images

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

      0  

    Default Problem in BoxSelect`

    Problem in BoxSelect`


    Hi,

    I am also facing the same problem as kunalshah6363 mentioned.

    Kindly suggest me how to overcome this as I tried lot but not succeeded


    Regards,
    Mahesh

  7. #27
    Sencha Premium Member
    Join Date
    Mar 2008
    Posts
    92
    Vote Rating
    3
    kveeiv is on a distinguished road

      0  

    Default


    Quote Originally Posted by derditze View Post
    Ext.form.Field.prototype.msgTarget = 'side';
    The next version (which I'll put out sometime this week) will have a fix to the field validation that makes the red-swirly marks properly appear. It looks like the code you've included there is for a previous version of ExtJS. I think you'll want to make that override on Ext.form.Labelable. Besides the missing styling, my tests show the actual error message display working as expected with the current release. Please see this thread for other general ExtJS migration information.


    Quote Originally Posted by kunalshah6363 View Post
    When i debug through chrome, i got the following errer.
    Uncaught TypeError: Cannot call method 'addCls' of null.
    I am unable to replicate this in my own configurations, can either of you provide a bug report to help narrow this issue down?

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

      0  

    Default problem in BoxSelect

    problem in BoxSelect


    Thanks for the reply,

    I am not sure whether its bug or not. But what I had done is, I have downloaded files provided by you and put along with extJs4 files. and then below in my html code..


    <head>
    <link rel="stylesheet" type="text/css" href="lib/extjs/resources/css/ext-all.css" />

    <link rel="stylesheet" type="text/css" href="lib/extjs/ezdi/BoxSelect.css" media="screen" />

    <script type="text/javascript" src="lib/extjs/ext-all.js"></script>
    <script type="text/javascript" src="lib/extjs/ext-all-debug.js"></script>
    <script type="text/javascript" src="lib/extjs/ezdi/ezdigrid.js"></script>
    <script type="text/javascript" src="lib/extjs/ezdi/BoxSelect.js"></script>

    <script type="text/javascript">


    Ext.onReady(function(){
    Ext.QuickTips.init();
    Ext.BLANK_IMAGE_URL = 'lib/extjs/examples/sandbox/images/s.gif';

    var myViewport = new Ext.Viewport({
    layout: 'border',
    border: false,
    renderTo: Ext.getBody(),
    items: [{
    xtype:'boxselect',
    fieldLabel: 'keyWords',
    id:'boxselect',
    store: ds,
    valueField:'name',
    displayField:'name',
    }]
    })
    })
    </script>
    </head>


    As I try to solved it I came to know that error will occur when we try to entry the second or further elements by typing.

    Also the error is occuring at line no 329 of your BoxSelect.js file(The error is same as kunalshah6363 mentioned)..

    Code snippents is given below where error occurs

    if (picker) {
    // From the value, find the Models that are in the store's current data
    selection = [];
    ExtArray.forEach(me.valueModels.concat(me.filteredSelections) || [], function(value) {
    if (value && value.isModel && (picker.store.findExact(valueField, value.get(valueField)) !== -1)) {
    selection.push(value);
    }
    });

    // Update the selection to match
    me.ignoreSelection++;
    selModel = picker.getSelectionModel();
    selModel.deselectAll();
    if (selection.length) {
    selModel.select(selection); //HERE ERROR OCCURS
    }
    me.ignoreSelection--;
    }

  9. #29
    Sencha User
    Join Date
    Dec 2008
    Location
    Frankfurt am Main, Germany
    Posts
    1
    Vote Rating
    0
    purnama is on a distinguished road

      0  

    Default How to do a pre selection?

    How to do a pre selection?


    Hi first. your code is awesome. Thank you very much.

    I have a question. how can i make a pre selection or initial value for the multiple select?

    i set the store id in the valueField and set an initial value like

    value: '4, 7'

    but it doing nothing. the boxselect not showing anything.

    Thanks.

    regards,
    Arthur

  10. #30
    Sencha Premium Member
    Join Date
    Mar 2008
    Posts
    92
    Vote Rating
    3
    kveeiv is on a distinguished road

      0  

    Default


    Quote Originally Posted by mahesh21688 View Post
    Thanks for the reply,

    I am not sure whether its bug or not. But what I had done is, I have downloaded files provided by you and put along with extJs4 files. and then below in my html code..

    <!-- snip //-->

    As I try to solved it I came to know that error will occur when we try to entry the second or further elements by typing.

    Also the error is occuring at line no 329 of your BoxSelect.js file(The error is same as kunalshah6363 mentioned)..
    Thank you for your detailed report. There are a few things that make your code sample not runnable for me. Your store configuration is missing, but your layout for your viewport is also invalid (border without a center region). I used the example store in examples/form/combos.js and tried to replicate your error, but was still unable. Is the error stopping at that line, or does it go down in to the ExtJS framework? Can you modify the examples/form/combos.js to replicate your error?

    Quote Originally Posted by purnama View Post
    how can i make a pre selection or initial value for the multiple select?
    Thanks for the bug report. Currently you can pre-select by passing in an array for the initial value, e.g. value: ['4', '7']. The next version will provide support for passing the value in as a string, using the combobox's delimiter string as the separator. With this change, your value of '4, 7' would work as expected. I am hoping to be able to track down and solve the issue that mahesh21688 is reporting before I push this change out, but will push the latest fixes out this week even if I am unable to do that.

Thread Participants: 94

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

Tags for this Thread