You are indeed correct that the desired behavior can be achieved through the exec() method. Refer to the below API Reference for additional information:
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.