1 of 1 people found this helpful
Up to now, I thought that the Undo & Redo weren't doable in JS at the moment.
Currently, the undo and redo functions are not exposed through the API... but I can also see it in the documentation I provided below. It's something that we are actively working on. In the meantime, you'll have to manually track the actions that the user did and implement your own version of undo/redo.
Bear in mind that it is mainly for the toolbars to display Undo and Redo buttons.
More details: API Reference
→ We have an Idea about this here: https://community.tableau.com/ideas/6939
This is marked as "Planned"