KeyTable + Clipboard on cells with rendered data

KeyTable + Clipboard on cells with rendered data

hserveirahserveira Posts: 10Questions: 4Answers: 0

Link to test case: https://editor.datatables.net/examples/extensions/excel
Description of problem: Using the clipboard to copy and paste a value from the 'Salary' column in the above example fails because of the formatting applied by the render function. Is there a workaround to this?

Replies

  • hserveirahserveira Posts: 10Questions: 4Answers: 0

    I quickly found a solution to this after posting the question.
    The solution is using the following config for keys:

    keys: {
        clipboardOrthogonal: 'data'
    }
    
  • allanallan Posts: 65,489Questions: 1Answers: 10,877 Site admin

    That's an interesting one - thanks for posting this. Good to hear you have a solution, although I will consider how I might be able to make this a bit more seamless in future.

    Allan

Sign In or Register to comment.