Jump to content

set data table property using ironpython

Ahmad Nuirat 2

Recommended Posts


If the question is how to set a data table property, you can basically just do the following:

Document.Data.Tables["Your Data Table Here"].Properties["Your Data Table Property Here"] = "New Value"


from Spotfire.Dxp.Data import *
myProperty = "propDataTable"
myDataTable = "smalldata"
newPropertyValue = "a new value"
myProperty = "propDataTable"
print ("Current Property Value = " + table.Properties[myProperty])
table.Properties[myProperty] = newPropertyValue
print ("New Property Value = " + table.Properties[myProperty])


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...