Skip to content

Copy & paste from datatable #7762

Closed

Description

@eggstrasse28

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!

Activity

  1. bryevdv commented on Apr 6, 2018

    @bryevdv
    Member

    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

  2. modified the milestone: on Sep 11, 2018
  3. Nicoowr commented on Oct 31, 2018

    @Nicoowr

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

  4. alhoo commented on Dec 15, 2018

    @alhoo
    Contributor

    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.

  5. added this to the 1.0.3 milestone on Dec 27, 2018
  6. github-actions commented on Oct 27, 2024

    @github-actions

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  7. locked as resolved and limited conversation to collaborators on Oct 27, 2024
  8. added theissue type on Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions