Posted 20 August 2020, 5:26 pm EST
Thank you Avinash!
sheet.getDataSource()
``` is working as expected.
1. Is there any i can make specific row non-editable/lock? (no editing,no drag-drop,no copy-paste,no delete,no drag fill,no EditFormula) no action can be performed on that row but filter and sorting should work.
It should also handle scenario let's say where alternate rows are non- editable/lock and when i do drag-fill the non-editable row values remains same but editable row value are changed accordingly.
2. And is there any simpler way to make entire sheet non-editable/lock instead of capturing event of
EditStarting,ClipboardPasting
and setting options as false like
this.spread.options.allowCopyPasteExcelStyle = false;
this.spread.options.allowExtendPasteRange = false;
this.spread.options.allowUndo = false;
this.spread.options.allowUserDragDrop = false;
this.spread.options.allowUserEditFormula = false;
this.spread.options.allowUserDragFill = false;
Regards