开发者

Problem in datagridviewComboBoxColumn

开发者 https://www.devze.com 2023-01-03 06:54 出处:网络
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

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

精彩评论

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