We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

What are the two selection types in GridGroupingControl?

There are two selection types in the GridGroupingControl, they are

  1. Range selection (cell based selection)
  2. Record selection

Range selection

You can turn on this selection by setting the grid.tableOptions.AllowSelections to something other than None. By this selection, you can select range of cells/columns/rows. This selection functionality raises events like the grid.TableModel.SelectionChanging/Changed.

C#

VB

The following screenshots illustrates range selection.

Figure 1: Range selection(Cell based selection)

Record selection

This selection is a record based selection support that is specific to the GridGroupingControl. You can turn on this selection support by setting the grid.TableOptions.AllowSelections to None and setting the grid.TableOptions.ListBoxSelectionMode to something other than None. This selection support raises the grid.SelectedRecordsChanged/Changing rather than raising the grid.TableModel.SelectionChanging/Changed events.

C#

VB

The following screenshots illustrates record selection.

Figure 2: Record based selection

C:\Users\ApoorvahR\Desktop\Note.pngNote: The default value of the gridGroupingControl1.TableOptions.AllowSelection is None. With this, you can able to select the current cell alone.

Sample Link

C#: SelectionModesInGGC

VB: SelectionModesInGGC

Article ID: Published Date: Last Revised Date: Platform: Control:
686 04/30/2011 04/20/2015 WinForms GridGroupingControl
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon