Summary:
If you wrap your call inside a ExecuteInvisibleTransaction(delegate { }), this will 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
Sample code to do this is included below:
// 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:
Comments
0 comments
Article is closed for comments.