我想为 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