如何在Angular-4中的ng2-table中添加复选框?

时间:2018-04-24 23:02:27

标签: angular typescript checkbox ng2-smart-table

我需要在Angular 4打字稿中添加复选框,我们使用的是ng2-table。

windows_package 'Notepad++ Installer 64-bit x64' do
  source 'http://mirror.oxygenxml.com/InstData/Editor/Windows64/VM/oxygen-64bit.exe'
  installer_type :custom
  options '/S'
end
  1. UI上的复选框已禁用或无法检查。 我认为某些事件会被触发并将所选值恢复为false 每一次。怎么预防?
  2. 我在哪里将此复选框绑定到ng-model或类似的?
  3. 请帮忙。谢谢你。

1 个答案:

答案 0 :(得分:0)

您的数据绑定到表中的哪个位置?复选框的模板在哪里?你能在stackblitz回购中重新创建问题吗?

顺便说一下,official repo issues

中有一个关于复选框的帖子