This project is read-only.

Select Multiple Columns and Rows By Click On Header and Hold Shift Key

Jan 27, 2014 at 11:58 AM
Hi,
How Can I Select a Range of Rows or Columns by Click on Header and Holding Shift or Ctrl Key?

Example :
Click on 5th Row Header ,Hold Shift key Then Click on 10th Row Header to Select Rows From 5 to 10.
Thank you very much .
Jun 2, 2014 at 4:16 AM
You should create a custom controller that inherits the SourceGrid.Cells.Controllers.ControllerBase class and then put your own logic in appropriate events (OnMouseDown, OnClick, etc.). You can refer to the SourceGrid.Cells.Controllers.StandardController class for sample.
May 16, 2016 at 12:18 PM
Edited May 16, 2016 at 12:18 PM
By using a Grid property i.e SpeicalKey, You can select either rows or columns .....!!!

If you put, SpeicalKey property as Control and Selction Mode is Rows...
Then ,You can select multiple rows by holding the control button in keyborad.. --- and Multiple column selection is not posible in this case
and is vise versa .. if the Selection mode is column