我想使用html在spotfire中創建一個下拉列表。所以根據選擇的選擇我想顯示自定義div。如何實現?任何人都可以使用ironpython腳本Spotfire和IronPython中的HTML
-1
A
回答
1
你想使用ironpython還是你想使用HTML?儘管你可以同時使用這兩種解決方案,但沒有必要同時使用兩者。
無論如何,這個問題告訴你如何使用HTML和JavaScript來做到這兩點,我相信你可以在Spotfire中使用它們。 Drop down list - display div when clicking an option
1
您將需要創建由您的屬性控制激活的腳本。屬性控件將動態地更改可視化中的不同文本框。你會使用的代碼看起來有點像這樣:
from Spotfire.Dxp.Application.Visuals import HtmlTextArea
outputVis = output.As[HtmlTextArea]()
outputVis.HtmlContent = "<p>"
相關問題
- 1. IronPython的變量保持在Spotfire
- 2. 如何使用IronPython的腳本在Spotfire
- 3. 在Spotfire中使用IronPython存儲和調用表達式
- 4. Spotfire IronPython通過屬性循環
- 5. 如何使用Spotfire中的IronPython設置複選框過濾器?
- 6. Spotfire中的Ironpython - 繪製曲線並修改圖表
- 7. Spotfire:使用IronPython更改計算列中的公式
- 8. 在Spotfire中,如何使用IronPython腳本格式化SummaryTable
- 9. IronPython腳本幫助 - 在SPotfire中將交叉表導出到Excel
- 10. 在Tibco Spotfire中使用Ironpython腳本動態設置貨幣
- 11. 需要IronPython代碼才能在Spotfire中輸出過濾方案
- 12. 無法解決嵌入在Spotfire中的IronPython腳本中的錯誤
- 13. 如何根據IronPython中的當前用戶「隱藏」Spotfire中的選項卡?
- 14. Spotfire-javascript來觸發IronPython腳本在報表加載時執行
- 15. 如何使用IronPython從Spotfire中的臨時文件讀取大量數據
- 16. 在spotfire中使用ironpython腳本的TreeMap屬性(層次結構,大小by)
- 17. Silverlight和IronPython中的NotImplementedException
- 18. Spotfire - 總和()超過
- 19. IronPython和setuptools/ez_install
- 20. Ironpython和Sqlite
- 21. IronPython和ASP.NET
- 22. ZeroRPC和IronPython
- 23. IronPython中的OpenFileDialog
- 24. IronPython中的LINQ
- 25. deepcopy的IronPython中
- 26. IronPython中
- 27. IronPython中
- 28. 在Tibco Spotfire中動態更改文本區域中的html
- 29. 嵌入IronRuby和IronPython
- 30. Django與IronPython和VS2010?
請[清理和改善你的問題(http://stackoverflow.com/help/on-topic)。例如通過添加一個超鏈接到spotfire(它正在嘗試使用的SDK /工具/文檔)並解釋你到目前爲止嘗試做的事情。 –
我正在使用tibco spotfire – firebolt