Get Free Trial

Is there a way to cancel the callbacks like afterchartdraw or aftergriddraw

Resolved
Michael T asked on May 25, 2021

Want to define a callback and then remove the callback after a particular condition is met.
how to  clear the callback so it doesn’t trigger anymore?
Thank you

1 answer

Public
Vera Didenko Vera Didenko Flexmonster May 25, 2021

Hello, Michael,
 
Thank you for your question.
 
We kindly recommend using the off() API call for clearing the callback.
Please see the following guide for more details.
 
Please let us know if this helps.
 
Kind regards,
Vera

Please login or Register to Submit Answer