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.66k stars 818 forks source link

Possibility to make a column grayed out #1682

Closed garcia252 closed 2 months ago

garcia252 commented 2 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 2 months ago

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