1. #71
    Sencha User galdaka's Avatar
    Join Date
    Mar 2007
    Location
    Spain
    Posts
    1,166
    Vote Rating
    -1
    galdaka is an unknown quantity at this point

      0  

    Default


    Quote Originally Posted by syscobra View Post
    Hello All

    First of all Thanks Dan for this very cool extension.

    I was using it in a job i was making and my boss wanted to use some normal style like the present in other Ext Widgets, So i modified the css and came out with something more close to the ext widgets style, so i am sharing it now with the community.

    Here is an screenshoot:

    Here is the dan Examples using this css:
    http://playground.ideashs.com/superboxselect/
    And here is the css with the image files required:
    http://playground.ideashs.com/superb...ctsmallcss.zip

    I hope someone find it useful.

    Cya around.
    Excellent work!!

    I think this changes would be part of original extension. With this style the component fits perfectly to Ext core.

    Greetings,

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

      0  

    Default


    @syscobra, very nice!

    It won't make it into the component as I was specifically asked to create inline icons, but I like how you've adapted it to suit your needs!

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

      0  

    Default


    Is there an option to limit the number of items?
    I'd like to replace all comboboxes with this because edit form loading works so flawless with it.

  4. #74
    Sencha User
    Join Date
    Jan 2008
    Location
    Los Angeles
    Posts
    149
    Vote Rating
    1
    radtad is on a distinguished road

      0  

    Default


    @syscobra really nice! They're much cleaner!

    Also, can we add this to the css?

    Code:
    .x-item-disabled .x-superboxselect-input input {background: none !important}
    Then you don't get the greyed out input type on disabled. It should follow the standard with all other disabled Ext form components. In addition, I don't know if anyone else agrees, but if the SuperBoxSelect is disabled, it should not show the emptyText if any as well.

  5. #75
    Ext JS Premium Member syscobra's Avatar
    Join Date
    Nov 2007
    Location
    Venezuela
    Posts
    140
    Vote Rating
    0
    syscobra is on a distinguished road

      0  

    Default


    Ok i added it to the zip, so everyone who download it from now will get your fix rad, thanks

    The empty text stuff i think you can modify it in the line 487 to fit your needs. (you can remove it in there) or you can modify the function in line 946.
    Javier Rincón aka SysCobra

  6. #76
    Ext User
    Join Date
    Nov 2009
    Location
    China.Shanghai
    Posts
    16
    Vote Rating
    0
    lanhun is on a distinguished road

      0  

    Default


    In the EXT 3.0.3 will not work

    error:
    el.dom Undefined

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

      0  

    Default


    @lanhun: works for me

  8. #78
    Ext User
    Join Date
    Nov 2009
    Location
    China.Shanghai
    Posts
    16
    Vote Rating
    0
    lanhun is on a distinguished road

      0  

    Default


    Quote Originally Posted by abraxxa View Post
    @lanhun: works for me
    I have a window inside a form, I opened the window to use this extension when there is no problem, but when I close the window when the error arises

  9. #79
    Ext User
    Join Date
    Nov 2009
    Location
    China.Shanghai
    Posts
    16
    Vote Rating
    0
    lanhun is on a distinguished road

      0  

    Default


    Work for errors in the EXT3.0.3.

    el.dom is undefined
    Code:
    autoSize :  function(){   if(!this.rendered){ 
         return this; 
      } 
      if(!this.metrics){ 
         this.metrics =  Ext.util.TextMetrics.createInstance(this.el); 
      } 
      var el = this.el, 
      v = el.dom.value,  !!!!!!!!!!!!!!!!
    
      d =  document.createElement('div');
    Code:
    var user_attr_multiselect = {
                xtype: 'superboxselect',
                fieldLabel: 'attr',
                resizable: true,
                name: 'user_attr[]',
                store: new Ext.data.JsonStore({
                    autoLoad: true,
                    url: '__APP__/UserAttr/miniList/',
                    root: 'data',
                    fields: ['name', 'code']
                }),
                mode: 'local',
                displayField: 'name',
                valueField: 'code',
                queryDelay: 0,
                triggerAction: 'all',
                forceSelection: true,
                forceFormValue: true,
                allowBlank: true
            };

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

      0  

    Default


    I found a bug in setValue.
    When the value is an empty Array it fails in line 1244:
    Code:
    var values = Ext.isArray(value) ? value : value.split(this.valueDelimiter);
    To fix it I've added this just before line 1244:
    Code:
    if(!value){
         return;
    }

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)