且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何绑定动态数据时,文本用户在网格中选择一行

更新时间:2023-10-19 10:41:34

我从一个工作示例更新了plunker。您将在选定项目的索引传递给你的动态输入控制。 Plunker

I updated your plunker with a working example. You are going to have to pass in the index of the selected item to your dynamic input control. Plunker

input.attr('ng-model', 'model[0].' + d.id.toLowerCase());