Copy/paste from/to a cell when there is a plugin in use similar to pikaday but different

Tags: #<Tag:0x00007f8b1d3931e0>

We’ve implemented a mult-select-picker (https://github.com/orestisrodriguez/handsontable-multi-select) which allows us to multi-select from a list and display them comma-separated. However, unlike the datepicker example, we don’t seem to be able to copy/paste from/to these cells. Is there any advice you can share with us to help with this?

Hi @matt.parma

I have asked my colleague to check the repository and share his feedback. But there is one thing that has to be changed right away. The repository that contains Handsontable v7+ cannot be distributed under MIT license. Please check the old page of our wrapper for reference https://github.com/handsontable/angular-handsontable Here https://handsontable.com/blog/articles/2019/3/handsontable-7.0.0-is-here you can read more about the Handsontable v7 licencing.

We already have an enterprise licence as CadDo, so I’m not sure what you mean?

Please replace the information in README under the License paragraph
image
with information that within the following project, you use a commercial license - Handsontable - https://github.com/handsontable/handsontable/blob/master/LICENSE.txt

Currently, anyone can download your project (it is public) and understand that the whole application uses MIT resources (which is no longer true for Handsontable above v7).

If there are some unexplained questions, please contact me at support@handsontable.com

Sounds like there is some confusion. The link I shared is not our source code, but a plugin someone else must have developed online and we used that as part of our software where we simply added a multi-select-dropdown in a column. My question isn’t really about the code I shared, but I was asking a broader question about the copy&paste when the cell uses a plugin like pikaday.

Thank you for the update. I will then contact the author of the plugin.
Also, I will send a notification to my colleague to cover the technical part of your question.

Hi @matt.parma,
I created a demo with this 3rd party module: https://codesandbox.io/s/sad-lichterman-cg39e?file=/src/index.js.

However, that 3rd party module bases on an outdated version of Handsontable (0.27.0). Since v0.27.0, we rewrote and improve CopyPaste functionality. If you would like to use that component, please ask its author to upgrade that component to the newest version of Handsontable.

Thank you for this Piotr. The author doesn’t seem to be reachable so we’re investigating on our end. Interestingly, in your demo I am able to copy and paste. However, in what we built this isn’t working as expected. We are showing the entire table initially read-only, then enabling edit later on and our developer (Luis) thinks that might be causing it, but still investigating. Any pointers?

On a separate note, are you aware of another module like this which might be more up-to-date and compatible with later versions?

We do not have a built-in feature like handsontable-multi-select. Perhaps the best option will be to copy the editor and renderer from that module into your project and then adjust it to your requirements.