Hesloan Viana Posted November 12, 2018 Share Posted November 12, 2018 Hey all, i have a IronPython script catch from here https://community.spotfire.com/questions/how-showhide-columns-dynamically-table-visualization-spotfire, but this script doesn't read my propery control value, as you guys can see on the attachments. When my property control is active in "VENDA DE ATIVOS" value i need show the columns "COD, NOME". If i turn the propery control, which is a drop-down list, to "GREENLIST/SUCATA" i need to show "NOME, COD" (just examples), but IronPython cant read the values of my PropertyControl. If i run the script like "Screenshot_15" he works fine. Link to comment Share on other sites More sharing options...
Shandilya Peddi Posted February 25, 2019 Share Posted February 25, 2019 Can you add the following snippet to define "cols" and add the needed imports in line 2 after the current import statement from Spotfire.Dxp.Data import * from System.Collections.Generic import List cols=List[DataColumn]() Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now