1. #1
    Sencha - Community Support Team VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501
    Vote Rating
    8
    VinylFox will become famous soon enough VinylFox will become famous soon enough

      0  

    Default Ext.ux.grid.DataDrop

    Ext.ux.grid.DataDrop


    This is a plugin for the Grid that allows dropping of rows from spreadsheets directly into the grid. More details along with a screencast are on my blog post.



    Not sure what else to say...

    Enjoy!

  2. #2
    Ext User
    Join Date
    Sep 2007
    Posts
    59
    Vote Rating
    0
    chemist458 is on a distinguished road

      0  

    Default WOW!!

    WOW!!


    Wow, that looks like the hottest thing I have ever seen!!
    Cant wait to try it out, incredible work, thanks!

  3. #3
    Sencha - Community Support Team VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501
    Vote Rating
    8
    VinylFox will become famous soon enough VinylFox will become famous soon enough

      0  

    Default


    Thanks chemist458.

    Im hoping to get some feedback on the implementation, as im not sure how it will work with different makes/versions of spreadsheet programs.

    I have been playing with dragging data from programs other than spreadsheets, and just a word of warning, DO NOT drag emails from Thunderbird into Firefox, as it will peg the cpu for both apps.

  4. #4
    Ext User
    Join Date
    Sep 2007
    Posts
    59
    Vote Rating
    0
    chemist458 is on a distinguished road

      0  

    Default


    I told everyone in my office, and they nearly wet themselves!!
    Hopefully this week I will implement it and give a good try
    George

  5. #5
    Sencha - Community Support Team VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501
    Vote Rating
    8
    VinylFox will become famous soon enough VinylFox will become famous soon enough

      0  

    Default


    @chemist458 - Excellent, that was my intention - to get people to urinate on themselves. Good to hear

    Be sure to get the most recent version from my SVN repo on Google code. Both Nige (Animal) and I have made some major changes since the initial version was thrown together.

  6. #6
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default


    Quote Originally Posted by VinylFox View Post
    @chemist458 - Excellent, that was my intention - to get people to urinate on themselves. Good to hear
    .
    good job raising a stink

  7. #7
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Thumbs up


    p.s. i really like @nige's singleton plugin pattern!

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

      0  

    Default


    I've been delving deep into the W3 Events API (And the crappy IE one)...

    You can actually have the textarea that recieves the drop events covering 100% of the data area of the grid, but being transparent, so that you can drop directly over the grids rows.

    You retain mouse control by forwarding mouse events from the textarea into te underlying elements. So we now have completely transparent Dragging from external apps into GridPanels.

    Below shows how. Hopefully, Shea and I will be able to get this posted to Google code:

    *UPDATE*
    Now posted on Google Code
    Last edited by VinylFox; 30 Sep 2009 at 7:23 AM. Reason: added link to code

  9. #9
    Sencha Premium Member
    Join Date
    Jun 2008
    Posts
    324
    Vote Rating
    9
    Scorpie will become famous soon enough

      0  

    Default


    Holy , is there anything you guys can`t do?
    I`m from Holland!

  10. #10
    Sencha - Community Support Team VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501
    Vote Rating
    8
    VinylFox will become famous soon enough VinylFox will become famous soon enough

      0  

    Default


    Updated the DataDrop code and integrated Animals override that allowed event forwarding through masking layers. Pretty cool stuff. My blog post explains more about it...

    Forwarding Mouse Events Through Layers

    Took a new ScreenCast of it in action

    First post updated.