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.73k stars 825 forks source link

Change settings #284

Closed PragnaBrahmbhatt closed 5 years ago

PragnaBrahmbhatt commented 5 years ago

Hello, How to change below settings after adding JExcel. allowInsertRow:false, allowManualInsertRow:false, allowInsertColumn:false, allowManualInsertColumn:false, allowDeleteRow:false, allowDeleteColumn:false, For example I am adding JExcel with data and on scroll, I am adding some more rows inside table. But I am not allowing any function of insert,update,delete,right click. Because of this the rows are not inserted on scroll. So my question is that: Is there any function so I can change the settings pragmatically?

pphod commented 5 years ago

In the just release new version 2.0.0 you can find this feature: $('#my').jexcel('setConfig', 'allowInsertRow', true);