Calling a function via beforeTableUpdate/afterTableUpdate settings executes twice

Issue #604 closed
vinoth kumar created an issue

I’m using a custom function to show/hide couple of inserted columns. I have passed the name of the function to beforeTableUpdate/afterTableUpdate settings. I also added a console.log in the function to check how many times it gets executed. I noticed two console logs for every action (dropdown change or hitting refresh) performed in the screen. Because the columns are getting shown and hidden multiple times before settling.

Why is the function getting executed/called twice? Is there a way to avoid it?

Comments (6)

  1. Ada Trajer

    Please update to the latest version (2023.05 FP1) and resubmit your request if the problem is still present.

  2. Log in to comment