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...
Wow, that looks like the hottest thing I have ever seen!!
Cant wait to try it out, incredible work, thanks!
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.
I told everyone in my office, and they nearly wet themselves!!
Hopefully this week I will implement it and give a good try
@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.
p.s. i really like @nige's singleton plugin pattern!
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:
Now posted on Google Code
Last edited by VinylFox; 30 Sep 2009 at 7:23 AM.
Reason: added link to code
Sencha Premium Member
Holy , is there anything you guys can`t do?
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.