Posted 31 May 2021, 5:48 am EST
Hi!
I want to do some logic when user lose focus at flex sheet. How can I subscribe to the blur event on flex sheet?
Thanks in advance!
Forums Home / Wijmo / General Discussion
Posted by: m.mironenko on 31 May 2021, 5:48 am EST
Posted 31 May 2021, 5:48 am EST
Hi!
I want to do some logic when user lose focus at flex sheet. How can I subscribe to the blur event on flex sheet?
Thanks in advance!
Posted 1 June 2021, 9:54 am EST
Hi,
You may handle the lostFocus event provided by the flexsheet.
<wj-flex-sheet
#flexsheet
(initialized)="initSheet(flexsheet)"
(lostFocus)="fLost(flexsheet)"
>
<wj-sheet [itemsSource]="data" name="Bound"></wj-sheet>
</wj-flex-sheet>
// component.ts
fLost(flexsheet) {
console.log("lost");
}
API reference:
https://www.grapecity.com/wijmo/api/classes/wijmo_grid_sheet.flexsheet.html#lostfocus
Regards