Ahmed
Greetings from Syncfusion
We have thoroughly examined your inquiry and determined
that your objective can be attained by utilizing the actionBegin
event, specifically with the requestType parameter set to
'beforeOpenEditDialog.' Within this event context, you have the capability to
associate your custom function with the change
event of the datePickerEdit. Consequently, this function will be invoked each
time there is a modification in the date selection. You can access the
pertinent code snippet and sample link in the resources provided below.
|
Code Snippet:
/*app.component.ts*/
actionBegin(args): void {
// Add your custom function to the "change" event
if (args.requestType == 'beforeOpenEditDialog') {
args.General.StartDate.change = function () {
alert('Change event was triggered');
};
}
}
|
Sample Link : https://stackblitz.com/edit/angular-ya5pfx-z6dsxb?file=src%2Fapp.component.ts
Regards,
Udhayakumar