jspreadsheet / ce

Jspreadsheet is a lightweight vanilla javascript plugin to create amazing web-based interactive tables and spreadsheets compatible with other spreadsheet software.
https://bossanova.uk/jspreadsheet/v4
MIT License
6.76k stars 827 forks source link

Possibility to make a column grayed out #1682

Closed e808080 closed 6 months ago

e808080 commented 6 months ago

Is it possible to make a column grayed out depending on a value written in a different column? If column A says "Hello", column B should be grayed out / read-only. Is this possible somehow? Thanks

hodeware commented 6 months ago

You can implement that using onchange or onafterchanges, adding readOnly class to the cell you wish readonly.