Copy & Paste onto table

Hi,

New to Vaadin - really nice work, guys.

I’m having a problem and am hoping someone can help point me in the right direction.
Could someone please tell me if its possible to capture a textual paste event onto a table?
For example, copy and paste from excel into the Vaadin table.

Thanks for your help,
Huy

I don’t know if you can do that. But have u checked http://demo.vaadin.com/sampler#DragDropHtml5FromDesktop
or event just make the user upload it and then u parse the values on the server side to the table.

probably the easiest thing to do is as mentioned, create a dialog with a text area, have user paste into it and parse it to add the right rows.

if you need the ability to do what you are doing, you will probably need to post-process the data in the cell that a user pastes into and then re-write the data to the appropriate columns. This will be messy and error prone.