Spread for ASP.NET 11 Product Documentation
Mapping an Event to a Client-Side Script
Spread for ASP.NET 11 Product Documentation > Client-Side Scripting Reference > Scripting Overview > Using Client-Side Scripting > Mapping an Event to a Client-Side Script

You can map a client-side event of the Spread component to a custom JavaScript function by using any of three procedures. The procedures, listed here, show how, for example, to map an event, such as onDataChanged to a custom function "Test()".

Each of these would result in this JavaScript function being called:

JavaScript
Copy Code
function Test(event) {
  alert("The data has changed");
}

For more information on browser support, refer to Understanding Browser Support.