1. #261
    Sencha User
    Join Date
    Jun 2011
    Posts
    4
    Vote Rating
    0
    leorossi is on a distinguished road

      0  

    Default


    Quote Originally Posted by gacowarlock View Post
    I have a problem SuperBoxSelect and pre-selected entries:

    When I set to local and manually load my store, then the available entries get displayed.
    When I set to remote, then I get a not ending number of server requests but get the pre-selected entries correctly. In this mode, it's not possible to see the list of available entries...
    What am I doing wrong?
    I have the same exact issue.
    This is my code:
    Code:
    this.superBoxApplicant = new Ext.ux.form.SuperBoxSelect({
                name: 'applicant',
                width: 300,
                fieldLabel: this.lang('superBoxApplicant', 'fieldLabel'),
                emptyText: this.lang('superBoxApplicant', 'emptyText'),
                listEmptyText: this.conf.wrapErrorStart + this.lang('superBoxApplicant', 'empty') + this.conf.wrapErrorEnd,
                resizable: true,
                valueField: 'id',
                displayField: 'party_name',
                store: this.partyStore,
                triggerAction:'all',
                mode:'remote',
                anchor:'100%',
                queryDelay: 0,
                minChars: 2
    
            });
    the JSON returned by the store is something like:
    Code:
    {"success":true,"message":"List loaded correctly","total":25,"data":[{"id":"12","party_name":"Abbott"},{"id":"11","party_name":"Bayer"}...]
    I noticed that if I change the displayField to whatever (like 'asd' or something not present in the json response) the list is actually built and I can count 25 entries, of course without any label. When I change back to 'party_name' or even 'id', it acts like the post above..

    any suggestion? I already looked at the code of the technomedia.co.uk examples and I think the issue is on the JSON response...

    Thanks for the help!

    LR

  2. #262
    Sencha User
    Join Date
    Jun 2011
    Posts
    4
    Vote Rating
    0
    leorossi is on a distinguished road

      0  

    Default


    SOLVED!
    Removing

    remoteSort: true

    flag from the store solves the problem with 'remote' store and infinite requests!

  3. #263
    Sencha User
    Join Date
    Jun 2009
    Location
    Heidelberg, Germany
    Posts
    52
    Vote Rating
    1
    kleins is on a distinguished road

      0  

    Default


    Just to let you know I had a shot at an implementation of BoxSelect for Ext 4: http://www.sencha.com/forum/showthre...549#post621549

  4. #264
    Sencha User
    Join Date
    Jun 2010
    Posts
    5
    Vote Rating
    0
    ian.young is on a distinguished road

      0  

    Default


    I would really like the license to be clarified. Because without a license, it's effectively illegal to use the component anywhere.

  5. #265
    Sencha User
    Join Date
    Dec 2009
    Location
    Dallas, TX
    Posts
    20
    Vote Rating
    0
    ramana_l_v is on a distinguished road

      0  

    Default


    I am also facing the same issue, is your problem solved ? what did you do to fix this ?

    Thanks


    Quote Originally Posted by gacowarlock View Post
    I have a problem SuperBoxSelect and pre-selected entries:

    When I set to local and manually load my store, then the available entries get displayed.
    When I set to remote, then I get a not ending number of server requests but get the pre-selected entries correctly. In this mode, it's not possible to see the list of available entries...
    What am I doing wrong?

    Here's my code:

    Code:
    PN.form.SubsidiaryComboBox = Ext.extend(Ext.ux.form.SuperBoxSelect, {
    
        displayField: 'shortname',
        valueField: 'id',
        mode: 'remote',
        triggerAction: 'all',
        editable: false,
        queryValuesDelimiter: ',',
    
        constructor: function(config) {
            this.store = new PN.data.JsonStore({
                modelName: 'subsidiary'
            });
            
            // Disable autosave
            this.store.autoSave = false;
            
            // Preload the store
            this.store.load();
            
            PN.form.SubsidiaryComboBox.superclass.constructor.call(this, config);           
        },
    My SuperBoxSelect.js is original and not modified.

    Please see the attached screenshot for details.

    Hoping for help...

    gacowarlock

  6. #266
    Sencha User
    Join Date
    Jun 2011
    Posts
    4
    Vote Rating
    0
    leorossi is on a distinguished road

      0  

    Default


    I solved it removing the remoteSort property (that was set to true)

  7. #267
    Sencha User
    Join Date
    Dec 2008
    Posts
    11
    Vote Rating
    0
    kora.kanchan is on a distinguished road

      0  

    Default Trigger button moved to top when select multiple item if height is fixed

    Trigger button moved to top when select multiple item if height is fixed


    I fixed the height of superboxselect but when i select multiple items, trigger and clear buttom moving up.

    bug-superboxselect.png

    Please help me

    Thanks in advance.

  8. #268
    Sencha User
    Join Date
    Aug 2011
    Posts
    2
    Vote Rating
    0
    joxzaren is on a distinguished road

      0  

    Default Enter key not working in IE8

    Enter key not working in IE8


    Hi,

    I'm using SuperBoxSelect and finding it to be a great widget. However, using the Enter Key to select an item in the drop down list doesn't work on IE8. Has anybody else haved this problem?

    Thanks,
    Per

  9. #269
    Sencha User
    Join Date
    Jun 2008
    Posts
    3
    Vote Rating
    0
    pops is on a distinguished road

      0  

    Default Item validation when fiel lose focus after a click

    Item validation when fiel lose focus after a click


    Hi all,

    I'm looking for a solution to validate the items on my combobox when I click anywhere on my web page (when field lose focus).
    Has anyone any idea?

    I tried
    HTML Code:
    addNewDataOnBlur:true
    but without success. It's seems to work only with tab key.

    Thanks,
    Pops.

  10. #270
    Sencha Premium Member
    Join Date
    Feb 2009
    Location
    Amsterdam, The Netherlands
    Posts
    238
    Vote Rating
    5
    Grolubao is on a distinguished road

      0  

    Default


    Quote Originally Posted by shamansoft View Post
    hi all!
    dan, thanx for extension.
    I'm using SuperBoxCombo on ExtJs 3.2.1 and I had a problem. After loading form's values the superbox's trigger wan't work. this is because of onEnable function which calls this.initButtonEvents(), and this functions attaches one more listener to 'click' event, so the drop-down list expands and collapses immediately. I solved this by adding calling this.removeButtonEvents() function in the beginning of the initButtonEvents() function.
    Code:
        initButtonEvents : function() {
            this.removeButtonEvents();
            this.buttonClear.addClassOnOver('x-superboxselect-btn-over').on('click', function(e) {
                e.stopEvent();
                if (this.disabled) {
                    return;
                }
                this.clearValue();
                this.el.focus();
            }, this);
    
            this.buttonExpand.addClassOnOver('x-superboxselect-btn-over').on('click', function(e) {
                e.stopEvent();
                if (this.disabled) {
                    return;
                }
                if (this.isExpanded()) {
                    this.multiSelectMode = false;
                } else if (this.pinList) {
                    this.multiSelectMode = true;
                }
                this.onTriggerClick();
            }, this);
        },
    If you have better solutions - welcome!

    Thank you very much for this fix!

Thread Participants: 94

  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)

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar