|
So i have a ggc and i was wondering if it was possible to do different types of selections. So i want to be able to select multiple rows as well as being able to select multiple rows using shift key, |
If you want to select multiple records when clicking on the cell, set the ListBoxSelectionMode as SelectionMode.MultiExtended. By default you can select the multiple records using Ctrl key. Moreover, Shift key allows user to extend existing selection by holding Shift key and clicking a cell.
Code Snippet
We have already provided UG documentation regarding the multiple ways in gridgrouping control. Please make use of the below UG,
Selections UG link - https://help.syncfusion.com/windowsforms/gridgrouping/selections#selectionmode---multiextended | |
|
and also is there a way to have a unbounded checkbox that updates when you select a row or multiple rows? any help wold be much appreciated! |
To achieve your requirement we suggest you to set the unbound checkbox and by using TableControlCurrentCellKeyDown and QueryCellStyleInfo event you can update the unbound checkbox column based on the selected/unselected records. Please refer the following code snippet for your reference.
Code Snippet
Unbound Columns - https://help.syncfusion.com/windowsforms/gridgrouping/faq/general/how-to-add-and-format-unbound-columns-in-gridgrouping
Select the record row while clicking on checkbox - https://www.syncfusion.com/kb/5698/how-to-select-the-record-row-while-clicking-on-checkbox-cell-in-winforms
|