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

How to disable undo (ctrl+z,) redo (ctrl+y) in version 10 #1689

Closed aayushmb closed 1 month ago

aayushmb commented 1 month ago

I want to disable undo and redo feature in my spreadsheet (V10) but i couldn't find any implementation.

paulorodalves commented 1 month ago

That should work on version 10 (PRO)

jspreadsheet.history.ignore = true;

aayushmb commented 1 month ago

That should work on version 10 (PRO)

jspreadsheet.history.ignore = true;

Thanks, it's working. Below is the code how to implement

<Spreadsheet history = {( jspreadsheet.history.ignore = true )}>