If you wrap your call inside a ExecuteInvisibleTransaction(delegate { }) this should avoid updating the "Undo/Redo" stack
Introduction
If you wrap your call inside a ExecuteInvisibleTransaction(delegate { }) this should avoid updating the "Undo/Redo" stack. Here is the link to the documentation: ExecuteInvisibleTransaction.htm
Sample tool code to do this is included below:
Code Sample
// Copyright © 2017. TIBCO Software Inc. Licensed under TIBCO BSD-style license. Page page = app.Document.ActivePageReference; Spotfire.Dxp.Data.DataTable t = app.Document.ActiveDataTableReference; page.Transactions.ExecuteInvisibleTransaction(delegate { t.Refresh(); });
References
License: TIBCO BSD-Style License
Recommended Comments
There are no comments to display.