开发者

Infragistics UltraGrid C# winform

开发者 https://www.devze.com 2023-01-06 18:06 出处:网络
I would like to select multiple rows in the ultragrid WITHOUT holding the CTRL key. Is it possible? I have rowSe开发者_运维问答lecteType = extended.Depends a bit on what you want to achieve.

I would like to select multiple rows in the ultragrid WITHOUT holding the CTRL key. Is it possible?

I have rowSe开发者_运维问答lecteType = extended.


Depends a bit on what you want to achieve.

If you don't want to allow the users to edit cells, then you can simply set the CellClickAction to RowSelect (next to your rowselecttype)

yourGrid.DisplayLayout.Override.CellClickAction = CellClickAction.RowSelect;

Another option is to make rowselectors visible, the user can then use those to select rows; an other advantage of this is that the user can still edit cells

yourGrid.DisplayLayout.Override.RowSelectors = DefaultableBoolean.True;
0

精彩评论

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