Hi Jose,
Greetings from Syncfusion.
Using the getSelectedRecords method, you can retrieve the selected records and therefore, OrderID values will be retrieved. Refer to the following code example.
@ViewChild('grid', {static: true})
public grid: GridComponent;
public onClick(): void {
console.log(this.grid.getSelectedRecords().map((e)=>e['OrderID']));
}
|
Regards,
Seeni Sakthi Kumar S