setCellMeta not working after updateSettings

Tags: #<Tag:0x00007f8b1db86348>

Hi,

I want to make cell editable after clicking button. I was doing it using setCellMeta. It works fine when called first time. In between if I have a call for updateSettings, setCellMeta does not work.

Below is fiddle:
http://jsfiddle.net/76770q9d/20/

Please follow steps to recreate-

  1. Click on UpdateSettings which sets column 2 and 3 readonly
  2. Click on cellMeta which is trying to set columns 2 and 3 to editable in row 0. But it does not work.

Thanks!

Hi @tejashrir15

I propose a similar solution http://jsfiddle.net/jqzecfdv/

Hello,

I tried using this approach, but as cells are not editable I can not paste it some value unless I double click on it.
:frowning:
Please help.

Thank you!

Maybe editor false/true then? Like here http://jsfiddle.net/b5cvf6se/ it allows you to paste data when the editor is inactive.

Hello,

But this sets entire table to editable or non-editable. I need specific columns only to be editable once user clicks on Edit. Also, with this option though table is non editable if I drag value down the columns it changes the value which should not happen as table is not editable. I don’t want to disable drag functionality completely.

Kindly help.

Thank you!

So maybe the afterSelectionEnd hook?