Hello,
What should I write to get the value inside the cell? I run in angular, I want to assign the cell value I selected to the variable.
@ViewChild('spreadsheet') spreadsheetEl!: ElementRef;
constructor(private hostEl: ElementRef) {}
ngAfterViewInit() {
kendo.jQuery(this.spreadsheetEl.nativeElement).kendoSpreadsheet({
columns: 3,
//rows: 10,
sheetsbar: false,
toolbar: {
home: [
"open", "exportAs",
{
type: "button",
text: "Material select",
showText: "both",
icon: "k-icon k-i-cog",
click: function(e: any) {
var sheet = this.spreadsheetEl.nativeElement.activeSheet();
var range = sheet.selection();
}
}
],
insert: false,
data: false,
},
...thank you
regards
