Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Is there any way to skip some colums while edititng? #38

Open
ghostku opened this issue Mar 3, 2017 · 1 comment
Open

Is there any way to skip some colums while edititng? #38

ghostku opened this issue Mar 3, 2017 · 1 comment

Comments

@ghostku
Copy link

ghostku commented Mar 3, 2017

I have a table with 4 column and i want to edit only last 2 columns.

And one more: Is there any way to use different input for different columns? I want to use text box for 3rd column and select for 4th?
Thanks

@djpbessems
Copy link

Change line 16 of mindmup-editabletable.js from:
active = element.find('td:focus');
to:
active = element.find('td:focus:not(".immutable")');
and then give each cell you do not want to be editable the class immutable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants