Infragistics UltraGrid:用户从下拉列表中选择后如何强制执行 CellUpdate 事件
Infragistics UltraGrid:列具有自动完成功能的下拉菜单。当用户从列表中选择一个项目时,如何强制执行 CellUpdate,而不必等待他按 Enter 键或单击其他单元格。
Infragistics UltraGrid: Column has a drop down with auto-complete. How can I force a CellUpdate when the user selects an item from the list and not have to wait for him to hit enter or click a different cell.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
答案是:
非常感谢 Infragistics 网格大师 Mike Saltzman:
http://community .infragistics.com/forums/p/47347/253023.aspx#253023
And, the answer is:
Much thanks to Mike Saltzman, the Infragistics Grid Guru:
http://community.infragistics.com/forums/p/47347/253023.aspx#253023
类似的帖子已提交至 Infragistics 论坛并得到答复。
http://community.infragistics.com/forums/p/47347/253023 .aspx#253023
谢谢。
similar post was submitted to Infragistics forums and was answered.
http://community.infragistics.com/forums/p/47347/253023.aspx#253023
Thanks.
我这样做的方法(在 VB.NET 中)是声明下拉列表:
然后设置
DataSource
、ValueMember
、DisplayMember
等。然后将列的
ValueList
属性设置为下拉列表:然后在下拉列表的
RowSelected
事件上,调用Update()
方法UltraGrid 的代码>ActiveRow:The way I do this (in VB.NET) is to declare the dropdown:
Then set the
DataSource
,ValueMember
,DisplayMember
, etc.Then set the
ValueList
property of your column to the dropdown:Then on the
RowSelected
event of the dropdown, call theUpdate()
method for theActiveRow
of the UltraGrid: