将外部脚本加载到数据表你好,
工作流程涉及导入 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
);