Reload Preview Page (v2021)

Each time you click the plus icon in a list row, that triggers a reload of the preview page for that row.How can I trigger this reload using Javascript, so the user doesn’t have to manually toggle the plus icon to refresh the row?I’m able to reload it by doing:

$(".ew-preview-row-btn").click();

but that’s not very elegant. There must be a way to trigger the reload without having to toggle the preview row.

Using .click() is fine. Otherwise, you need to use longer code, e.g. ew.showDetails(btn) where btn is the you want to click.

I understand I can use click(), but that’s not a great solution, as it quickly closes and re-opens the preview row, which doesn’t look professional.I want a JS method that will reload the preview row WITHOUT clicking a button.For example, when a user clicks the plus button, that click calls a JS function, which reloads the preview row. I want to know what function it’s calling to reload the preview row, so I can call that function directly.I don’t want the preview row to collapse/expand. I just want to reload its contents.

bkonia wrote:

I want to know what function it’s calling to reload the preview row

It’s ew.showDetails(btn). Read the previous post.