1. #11
    Ext User DigitalSkyline's Avatar
    Join Date
    Apr 2007
    Location
    Rochester, MI
    Posts
    461
    Vote Rating
    1
    DigitalSkyline is on a distinguished road

      0  

    Default


    The best version yet. Great!

    _____________________________________________

    For ExtJS Consultation and Custom Development ->
    Contact Paul[at]digitalskyline.com

  2. #12
    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 wojan View Post
    Nice extension!

    FYI - I had an issue in IE 8 where when you closed one of the selected items, it was hidden but not actually removed from the dom.

    Fixed with the 3.0 RC2 release

    Quote Originally Posted by DigitalSkyline View Post
    The best version yet. Great!
    Thanks

  3. #13
    Sencha Premium Member
    Join Date
    Jun 2008
    Posts
    319
    Vote Rating
    3
    Scorpie is on a distinguished road

      0  

    Default


    Pure ownage.
    I`m from Holland!

  4. #14
    Sencha Premium Member
    Join Date
    Jun 2008
    Posts
    36
    Vote Rating
    0
    supercharge2 is on a distinguished road

      0  

    Default Contents disapearing on blur

    Contents disapearing on blur


    I am trying to use the SuperBoxSelect in a wizard using a card layout. Since going to 3.0rc2 (worked fine in rc1.1), whenever I click away from the box the contents clear. I put the box into various other test scenerios such as a toolbar and the same thing occurs. It seems fine in your example renderd to a div in the page. As one post suggested it may be that the code is using the private doForce() method which has been changed to beforeBlur() in rc2. Any chance you could check on this?

  5. #15
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Beautiful work! Should really be on the ExtJs main site as an example. And should be part of the UX download package!

  6. #16
    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 supercharge2 View Post
    I am trying to use the SuperBoxSelect in a wizard using a card layout. Since going to 3.0rc2 (worked fine in rc1.1), whenever I click away from the box the contents clear. I put the box into various other test scenerios such as a toolbar and the same thing occurs. It seems fine in your example renderd to a div in the page. As one post suggested it may be that the code is using the private doForce() method which has been changed to beforeBlur() in rc2. Any chance you could check on this?
    Do you have an example page that I could take a look at please? Someone else reported an issue with blur that I haven't been able to re-produce. I'd appreciate being able to debug the issue.

    Quote Originally Posted by Animal View Post
    Beautiful work! Should really be on the ExtJs main site as an example. And should be part of the UX download package!
    Thanks Animal, high praise indeed from you - I've always been impressed with your own work. There are still a few issues and there's some refactoring to do but I'd be happy for the code be used as a demo. I'll try to get a move on with the updates!

    I've got another little component I'll release v. soon too!

  7. #17
    Sencha Premium Member
    Join Date
    Jun 2008
    Posts
    36
    Vote Rating
    0
    supercharge2 is on a distinguished road

      0  

    Default Quick Example

    Quick Example


    I dropped this into a grid toolbar as one of my tests and it had the problem:

    Code:
    {
        xtype: 'superboxselect',
        fieldLabel: 'Products',
        width: 300,
        hideOnSelect: false,
        maxHeight: 200,
        store: auxillaryListStore,
        triggerAction: 'all',
        valueField: 'AuxillaryId',
        displayField: 'AuxillaryDescription',
        hiddenName: 'AuxillaryId',
        mode: 'local'
    }
    Then the grid into a layout and then viewport

    Code:
    var layout = new Ext.Panel({
        title: 'Employee Salary by Month',
        layout: 'border',
        layoutConfig: {
            columns: 1
        },
        width: 600,
        height: 600,
        items: [chart, grid]
    });
    new Ext.Viewport({
        layout: 'fit',
        items: [layout]
    });
    //layout.render(Ext.getBody());

  8. #18
    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 supercharge2 View Post
    I dropped this into a grid toolbar as one of my tests and it had the problem:

    Code:
    {
        xtype: 'superboxselect',
        fieldLabel: 'Products',
        width: 300,
        hideOnSelect: false,
        maxHeight: 200,
        store: auxillaryListStore,
        triggerAction: 'all',
        valueField: 'AuxillaryId',
        displayField: 'AuxillaryDescription',
        hiddenName: 'AuxillaryId',
        mode: 'local'
    }
    Then the grid into a layout and then viewport

    Code:
    var layout = new Ext.Panel({
        title: 'Employee Salary by Month',
        layout: 'border',
        layoutConfig: {
            columns: 1
        },
        width: 600,
        height: 600,
        items: [chart, grid]
    });
    new Ext.Viewport({
        layout: 'fit',
        items: [layout]
    });
    //layout.render(Ext.getBody());
    Do you have this code online anywhere so that I can debug?

    Thanks

  9. #19
    Sencha Premium Member
    Join Date
    Jun 2008
    Posts
    36
    Vote Rating
    0
    supercharge2 is on a distinguished road

      0  

    Default Example

    Example


    You can use one of your own examples. I took from your example page and put a quick test page together. I appreciate you looking into this.

    Code:
    <html>
    <head><title>
        Test Page
    </title>
    <link rel="stylesheet" type="text/css" href="ext-3.0-rc2/resources/css/ext-all.css" />
    <script type="text/javascript" src="ext-3.0-rc2/adapter/ext/ext-base.js">
    </script>
    <script type="text/javascript" src="ext-3.0-rc2/ext-all.js">
    </script>
    <link href="css/superboxselect.css" rel="stylesheet" type="text/css" />
    <script src="jscripts/SuperBoxSelect.js" type="text/javascript">
    </script>
    <script type="text/javascript">
        Ext.onReady(function() {
            var countryData = [['AU', 'Australia', 'x-flag-au', 'font-style:italic'], ['AT', 'Austria', 'x-flag-at', ''], ['CA', 'Canada', 'x-flag-ca', ''], ['FR', 'France', 'x-flag-fr', ''], ['IT', 'Italy', 'x-flag-it', ''], ['JP', 'Japan', 'x-flag-jp', ''], ['NZ', 'New Zealand', 'x-flag-nz', ''], ['US', 'USA', 'x-flag-us', '']];
            var countryStore = new Ext.data.SimpleStore({
                fields: ['code', 'name', 'cls', 'style'],
                data: countryData,
                sortInfo: {
                    field: 'name',
                    direction: 'ASC'
                }
            });
            new Ext.Viewport({
                layout: 'border',
                items: [
                new Ext.TabPanel({
                    region: 'center',
                    id: 'MainTab',
                    activeTab: 0,
                    enableTabScroll: true,
                    animScroll: true,
                    layoutOnTabChange: true,
                    items: [
                    {
                        title: 'Home',                    
                        id: 'tab-home',
                        items: [{
                            allowBlank: false,
                            id: 'selector3',
                            xtype: 'superboxselect',
                            fieldLabel: 'Countries',
                            resizable: true,
                            name: 'countries',
                            store: countryStore,
                            mode: 'local',
                            displayField: 'name',
                            valueField: 'code',
                            stackItems: true
                        }]
                    }]
                })
                ]
            });
        });
    </script>
    </head>
    <body>
    </body>
    </html>

  10. #20
    Sencha Premium Member
    Join Date
    Jun 2008
    Posts
    36
    Vote Rating
    0
    supercharge2 is on a distinguished road

      0  

    Default Workaround

    Workaround


    Bashev posted a workaround for a similar extenstion that solved the issue:

    Code:
    Ext.override(Ext.ux.form.SuperBoxSelect, {
    beforeBlur: Ext.emptyFn
    })

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)