Can we call custom methods written on components present in a template by accessing the template instance from vision windows?

Can we call custom methods written on components present in a template by accessing the template instance from vision windows?

I do have a template which is having the Power table component, I have written the custom method to resize the column width automatically. I have called the same method on data property change and it is working fine. But I also want to call the same method from the Vision window, but I am able to access the power table through the template instance but not able to execute the custom method.

Please provide a valuable solution for this.

Try installing my Simulation Aids module. Good chance that will make it "Just Work". See this discussion: