onChange(args: ChangedEventArgs)

Hi,
I am trying to use onChange event , it triggers when any panel is moved. I want to get all the ids of all the panels and their position so that I can update the position in db.
its args is giving undefined.

in both the cases getting undefined
 onChange(args: ChangedEventArgs) {
    console.log("Change event triggered",args); //undefined
  }


 onChange(args: any) {
    console.log("Change event triggered",args); //undefined
  }

1 Reply 1 reply marked as answer

SS Sharon Sanchez Selvaraj Syncfusion Team May 26, 2021 03:52 PM UTC

Hi RakhiS, 
 
Greetings from Syncfusion Support. 
 
We have checked with your reported query. And based on your code snippets, we have identified that the event arguments wasn’t mapped properly . 
 
 change(argsChangeEventArgs) { 
    console.log(args); 
  } 
 
 
So kindly refer to the sample below for a simple representation where you will be able to get the args values.  
 
 
Please get back to us if you need further assistance. 
 
Regards, 
 
Sharon Sanchez S. 


Marked as answer
Loader.
Up arrow icon