0

我想为 Table 组件注册一个新的 AddIn。

查看 cdf/cdf-core/cdf/js/addIns/coltypes.js 中的源代码这似乎不是很困难。但是,我在哪里定义此代码?最后一步是(取自dataBar colType)

Dashboards.registerAddIn("Table", "colType", new AddIn(dataBar));

我可以在附加到仪表板布局部分的 javascript 资源中运行它吗?

我认为我的问题类似于这个问题:https ://stackoverflow.com/questions/24869195/where-can-i-create-the-relative-sparkline-addin-object

4

1 回答 1

1

是的你可以。插件只需要在仪表板渲染时注册。

于 2014-09-16T13:53:15.737 回答