Posted 21 August 2019, 1:36 am EST
Hi,
refer to this https://www.grapecity.com/wijmo/demos/Grid/Selection/Overview/angular
I would like to get selected row index and data, but nothing happened. I check my console, and it is clean, no log.
This is my code
onSelectionChanged(){
console.log("Changed !!");
console.log(this.formatSheet.selection);
}
<wj-flex-sheet #formatSheet
style="margin:0px;padding:0px;width: 100%; height:77%; border-radius:0px;">
<wj-sheet [itemsSource]="source" name="{{sheetTitle}}" [rowCount]="20" [columnCount]="8" (selectionChanged)="onSelectionChanged()"></wj-sheet>
</wj-flex-sheet>