將外部腳本加載到數據表你好,
工作流程涉及導入 csv 文件並進行大量計算,然後創建重要指標的匯總表。 我還有一個腳本,它創建了一個帶有列切換器和本地數據過濾器的用戶界面(向 txnelson 大喊)。 我想將用於表創建和操作的代碼與創建用戶界面分開。 我想做的是從主加載調用接口腳本,並將該接口腳本添加到匯總數據表中。 目的是用戶可能會意外關閉界面窗口,我不想為了再次獲取界面而重新運行整個導入腳本。
這樣做的首選方法是什麼?
安迪
腳本回复:將外部腳本加載到數據表names default to here(1);
// The JSL that extracts the csv table and does the calculations
// The dt below is a reference to the data table you want the User
// Interface code add to
dt << New Script( "User Interface",
// Your User Interface Code
);