Hybrid View

  1. #1
    Sencha Premium Member andrei.neculau's Avatar
    Join Date
    Jul 2007
    Location
    Sweden
    Posts
    197
    Vote Rating
    0
    andrei.neculau is on a distinguished road

      0  

    Lightbulb [2.x][discontinued] Ext.ux.Andrie.Select (ComboBox with multiSelect)

    [2.x][discontinued] Ext.ux.Andrie.Select (ComboBox with multiSelect)


    March 26, 2008
    This extension has been discontinued! A new extension with the same capabilities, but with cleaner and smarter code will be uploaded within the future days.

    ---------------
    * This extension is merely the new-comer after Ext.ux.form.Select for Ext 1.x

    Same features are available. To summarize: a ComboBox with multiple selection support.
    Nothing much changed on the surface, other than switching the config property singleSelect to it's counter-property: multiSelect. The reason behind the change is to make it more logical when using Ext.DataView.

    Since 0.3.6 - it also features history capabilities (the former HistoryComboBox)

    Live DEMO is available here. Testcase is included in the attached ZIP file.

    As always - looking forward to reactions on this!

    TO DO (not in the very near future)
    ------
    - add key search (Ext 1.x - SelectBox)
    - add grouping capability (Ext 1.x - GroupComboBox)

    Post Scriptum
    • I sincerely apologize, but you won't be seeing "Mine is better because..." regarding this post. People can choose and make up their own mind. This is one reason why I switched to Ext.ux.Andrie namespace. I want to govern over Ext.ux.Select (sounds like community-work, consensus toward official release) no more than I want somebody else to use Ext.ux.Andrie namespace (personal work).
    • I apologize for a second time because there was a "nice" delay since I promised to support Ext 2.x and the current time - release time. To be honest, this switch has only taken one day - today -, so it could have been released a long time ago.
    • All in all, I'd like to thanks the Ext2 team - it was fairly easier to implement this on the new framework, than it was on Ext1.
    -
    [GMT 14:33 Nov. 5] - Update to v0.3.4 (fixed clearValue, improved reset, new clear button/trigger)
    [GMT 23:14 Nov. 5] - Update to v0.3.5 (improved clear trigger and transform capabilities)
    [GMT 10:04 Nov. 6] - Update to v0.3.6 (added history capabilities) [GMT 13:40 Nov. 7] - Update to v0.3.7 (removed a faulty JS hack - It's important to go ahead with this update!!!)
    [GMT 17:02 Nov. 12] - Update to v0.3.8 (improved setValue function)
    [GMT 10:35 Nov. 17] - Update to v0.4 (improvements and fixes + cleaner code; full changelog on the demo page)
    [GMT 14:19 Nov 20] - Update to v0.4.1
    - LIVE DEMO IS NOT YET UPDATED TO USE THE LATEST VERSION! (Having problems with accessing the webhost)
    Attached Files

  2. #2
    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


    IE6. Error in line 51 "Console is not defined".

    Thanks in advance.

  3. #3
    Ext User
    Join Date
    Apr 2007
    Location
    London, UK
    Posts
    50
    Vote Rating
    0
    Lucian is on a distinguished road

      0  

    Default Nice job, Andrei!

    Nice job, Andrei!


    This extension is very useful for the application I'm working on it right now.

    P.S.: o treaba buna...

  4. #4
    Sencha Premium Member andrei.neculau's Avatar
    Join Date
    Jul 2007
    Location
    Sweden
    Posts
    197
    Vote Rating
    0
    andrei.neculau is on a distinguished road

      0  

    Default


    @galdaka - Pfff.. Ok, I will switch to another way of showing the values of the fields. Right now it is using console.log which supposedly it was available on IE in the debug version of ExtJS. It will get fixed today


    @lucian - mersi

  5. #5
    Sencha Premium Member andrei.neculau's Avatar
    Join Date
    Jul 2007
    Location
    Sweden
    Posts
    197
    Vote Rating
    0
    andrei.neculau is on a distinguished road

      0  

    Default


    The component has now been updated and has some fixes, but most importantly some enhancements (e.g. deleting the value by keyboard - the feature was available in 0.2 but wasn't included in 0.3).

    The testcase uses form textfields to show components' values.

    The testcase also now features a comparison between Select and the formal ComboBox.

    [PS: I'm not able to reach my hosting server for the moment, so the Live Demo is not yet updated]
    PS: Live Demo now Online

  6. #6
    Sencha User
    Join Date
    Mar 2007
    Location
    Haarlem, Netherlands
    Posts
    1,243
    Vote Rating
    10
    TommyMaintz will become famous soon enough TommyMaintz will become famous soon enough

      0  

    Default


    I like the extention but whats up with the name lol :p

  7. #7
    Sencha Premium Member andrei.neculau's Avatar
    Join Date
    Jul 2007
    Location
    Sweden
    Posts
    197
    Vote Rating
    0
    andrei.neculau is on a distinguished road

      0  

    Default


    @TommyMaintz - what's wrong with the name? If you are talking about Andrie - it's not a mispelling from Andrei.. and if you are talking about why it is not Ext.ux.Select, you find the explanation in the starting post of this thread.

  8. #8
    Sencha Premium Member andrei.neculau's Avatar
    Join Date
    Jul 2007
    Location
    Sweden
    Posts
    197
    Vote Rating
    0
    andrei.neculau is on a distinguished road

      0  

    Default


    Updated just now - added a fix to clearValue which cleared only the text, and not the value (already posted a bug-thread on this) and added a clear trigger.

  9. #9
    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


    Excellent widget! Thanks for share.

  10. #10
    Sencha Premium Member andrei.neculau's Avatar
    Join Date
    Jul 2007
    Location
    Sweden
    Posts
    197
    Vote Rating
    0
    andrei.neculau is on a distinguished road

      0  

    Default


    Updated now to support history capabilities for (Single) Select