开发者

Problem in datagridviewComboBoxColumn

In my datagridview , when in click on datagridviewComboBoxColumn to p开发者_JAVA百科opulate its dropdownlist it not show me dropdown list for that i need to click 2 times. at first time it just focus to datagridviewComboBoxColumn and on second click it populate its dropdown. but i want to populate its dropdownlist on single click. please help me out. i am using c#.net (vs 2005)


The usual solution for this behaviour of the DataGridView is to set the EditMode property of the DataGridView to EditOnEnter.

There are some issues around using this approach, in particular that the row header is no longer available for row select. See Microsoft Connect here for more info on that issue.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜