Is there a way to disable auto-fill on the spreadsheet? We don't want our clients to accidentally activate it and over-write data they've already entered in the spreadsheet.
Thanks.
Greg
2 Answers, 1 is accepted
0
Accepted
Neli
Telerik team
answered on 15 May 2018, 11:44 AM
Hi Greg,
A possible approach is to prevent the AutoFillCommand from being triggered.
kendo.spreadsheet.Workbook.fn._sheetCommandRequest = function (e) {
if (e.command === "AutoFillCommand") {
return;
}
this.trigger("commandRequest", e);
}
Another possibility is to customize the kendo.spreadsheet.AutoFillCommand and clear its implementation.
On the linked Dojo example the first approach is implemented.
I hope this helps.