Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy & paste from datatable #7762

Closed
rupgr opened this issue Apr 5, 2018 · 3 comments
Closed

Copy & paste from datatable #7762

rupgr opened this issue Apr 5, 2018 · 3 comments

Comments

@rupgr
Copy link

@rupgr rupgr commented Apr 5, 2018

I don't believe it is possible already, but could you add the ability to copy & paste from the datatable.
My use case would be for copying and pasting between Bokeh and Excel.
Many thanks!

@bryevdv
Copy link
Member

@bryevdv bryevdv commented Apr 6, 2018

It appears there is nothing built into SlickGrid, but there may be some hope to follow this example:

http://6pac.github.io/SlickGrid/examples/example-excel-compatible-spreadsheet.html

@Nicoowr
Copy link

@Nicoowr Nicoowr commented Oct 31, 2018

I took a look at the code in the link and it appears we need the SlickGrid object to set up the copy/paste tool :
grid = new Slick.Grid("#myGrid", data, columns, options);
grid.setSelectionModel(new Slick.CellSelectionModel());
grid.registerPlugin(new Slick.AutoTooltips());
Do you know how we could get it from bokeh? So far, using customJS, I have only been able to get the "div" object containing the table. I could recreate the table from it in JS but this seems an absurd way to do it...

@alhoo
Copy link
Contributor

@alhoo alhoo commented Dec 15, 2018

I got the copy paste working somewhat nicely with #8504. If someone has can look at the slickgrid code and fix the remaining issues (copy-paste ordering and double-click-to-edit -support) that would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants