0
Answer

Datagridview cell selection

Ask a question
SANDIP

SANDIP

16y
2.1k
1

Use a datagridView ,

1] select a cell  2] press Shift + any Arrow key and select 2/3 cells

3] call datagridview . clearSelection() 4] before performing any other operation , try to select the same cells using Shift and ArrowKey .

The currentCell . selected is true but it do not highlights the selected cell.

How to avoid this and show highlighted selected cells?