Get event when table is sorted

Hello everyone,

I have a macro that is inside an iFrame. I need to know when a table is sorted so that I can rerender my macro. Unfortunately, I cant access elements outside my iframe due to cross-origin. Is there any other way that I can do it?


Hi @EricSchneider ,

What you would need is the ability to subscribe for table sort events from your iframe code, but neither Connect nor Forge provide this. There’s also no webhook/product trigger for table sort events so unfortunately I can’t offer a decent solution.

The only workaround style of solution I can think of is to add a UI element within your app iframe to allow the user to indicate the table sorting has changed, but I don’t think you’ll be able to work out what the actual table sorting is since I don’t think it is persisted in the content storage.