处于编辑模式时如何在Gridview中触发事件 [英] How to fire an event in Gridview when it is in editing mode
本文介绍了处于编辑模式时如何在Gridview中触发事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当用户在gridview行的最后一个单元格中按Enter键时,如何触发事件.
How to fire an event when a user press enter in the last cell of a gridview row.
推荐答案
[ ^ ]可能会给您一些有关如何执行此操作的建议.
基本上,只需捕获某个单元的keydown事件并检查该单元是否为最后一个(连续).
Auto-update GridView row and place the next row in Edit mode by pressing Tab[^] might give you some suggestions on how to do this.
Basically, just capture the keydown event for a cell and check if this cell is the last one (in a row).
这篇关于处于编辑模式时如何在Gridview中触发事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文