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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridGroupingControl and column selection

Thread ID:

Created:

Updated:

Platform:

Replies:

33204 Aug 16,2005 07:47 AM UTC Aug 16,2005 10:49 AM UTC Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On August 16, 2005 07:47 AM UTC

Hi, is there a way to select (highlight) the whole comlumn in a gridgroupingcontrol when clicking on the column header? Cheers, Markus

Administrator [Syncfusion]
Replied On August 16, 2005 08:02 AM UTC

The GroupingGridControl has 2 different selection mechanisms. One is the record selection support that is specific to the GridGroupingControl that has knowledge of grouping and nested tables. It only allows selecting records. You indicate you want to use this support by setting: grid.TableOptions.AllowSelection = GridSelectionFlags.None; grid.TableOptions.ListBoxSelectionMode = (something other than None); The other selection support is the support that is inherited from GridControlBase. This support will let you select any set of cells depending upon the setting specified in grid.TableOptions.AllowSelections. You also have to set grid.TableOptions.ListBoxSelectionMode = None. But this inherited selection techniques is only reasonable for simple flat tables. It does not have any knowledge of groups or nested tables. But it will allow you to select columns in flat tables if that is what you want.

Administrator [Syncfusion]
Replied On August 16, 2005 10:49 AM UTC

Markus, Check out also the following thread: http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=26611 There is a sample at the end of the thread that shows another option for selecting columns. Stefan >The GroupingGridControl has 2 different selection mechanisms. > >One is the record selection support that is specific to the GridGroupingControl that has knowledge of grouping and nested tables. It only allows selecting records. You indicate you want to use this support by setting: > >grid.TableOptions.AllowSelection = GridSelectionFlags.None; >grid.TableOptions.ListBoxSelectionMode = (something other than None); > > >The other selection support is the support that is inherited from GridControlBase. This support will let you select any set of cells depending upon the setting specified in grid.TableOptions.AllowSelections. You also have to set grid.TableOptions.ListBoxSelectionMode = None. But this inherited selection techniques is only reasonable for simple flat tables. It does not have any knowledge of groups or nested tables. But it will allow you to select columns in flat tables if that is what you want.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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

;