Is there a way to determine when a clicked button has completed its action?
Is there a way to determine when a clicked button has completed its action?
I would like to perform a secondary action once a button (colVis in this instance) has completed its action.
In other words, when a user clicks on the colVis button, a collection opens with all the column names. The user clicks those options to choose which columns should be visible. The user then clicks off the list to close the collection. It is at that time I would like to perform another separate action automatically.
When initializing the buttons, I am extending the 'colvis.' It would be amazing if I could append an action to that extension that would fire when all else was done. Adding the "action" keyword prevents the original action from firing though. Would be great to have a "finalAction" keyword or something.
Any ideas?
Answers
No clues huh?