Disable paste and auto fill on specific cell

Tags: #<Tag:0x00007efc6b4a1e38>

As title, I have tried the hook of ‘beforePaste’ and ‘beforeAutofill’ alse have tried the column setting such as ‘allow empty’ and ‘skipColumnOnPaste’. But seems those of all did not work for me. I alse tried set column as ‘read-Only’, of course this method disable the paste and autofill, however, it also prevents my edit. Do we have any decent way to solve it. Thanks.

Hi @yongsuo

Here’s a demo with the beforeChange hook applied https://jsfiddle.net/5ykebpzq/1/

It is set to allow only edit for the yellow cell. All other operations like autofill and paste are blocked (they are driven by other src).

Would that meet your project requirements?

Thanks @aleksandra_budnik I’ll try it.

Hi @yongsuo

Have you already had an opportunity to check the afterChange up?

I’m closing this issue as there is no feedback for nearly a month.
If you still need any guidance, please create a new ticket or message me at support@handsontable.com