Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const workbook = e.getWorksheet().getWorkbook()
- // Remembers the current state of the workbook by assigning a custom view name.
- workbook.rememberCustomViewAsync('Fuck you tableau').then(() => console.log('check me'))
- //Removes the custom view
- workbook.removeCustomViewAsync('Fuck you tableau')
- //Changes the viz to show the named saved state.
- workbook.showCustomViewAsync('Fuck you tableau')
- //Gets the collection of CustomView objects associated with the workbook
- workbook.getCustomViewsAsync()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement