Infragistics UltraGrid C# winform
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;
精彩评论