Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个网格,并在顶部工具栏中添加了一个编辑按钮,它有铅笔图标。工具栏:[“创建”、“编辑”、“保存”、“取消”]
但是,当我选择一行并按下它时,不会出现弹出编辑器。但是当我按下添加按钮时它确实如此。
我怎样才能做到这一点?
问候,
代码猫头鹰
我认为这就像添加编辑按钮一样简单,但显然在工具栏中,编辑按钮没有行为。您可以使用工具栏模板添加它。除非我遗漏了一些非常明显的东西。太晚了。
http://jsbin.com/abayer/2/
尝试改变编辑数据的方式:
.Editable(e => e.Mode(GridEditMode.InCell)) or .Editable(e => e.Mode(GridEditMode.InLine)) or .Editable(e => e.Mode(GridEditMode.PopUp))