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.

ExcelLikeSelectionFrame / ActivateCurrentCellBehavior in GroupingGrid?

Thread ID:

Created:

Updated:

Platform:

Replies:

15881 Jun 29,2004 11:48 AM Jul 6,2004 12:11 PM Windows Forms 4
loading
Tags: Grouping
Daniel Chait
Asked On June 29, 2004 11:48 AM

Is there any equivalent to these properties of Grid in the GroupingGrid?

Administrator [Syncfusion]
Replied On June 30, 2004 10:55 AM

Hi Daniel, We haven''t provided any of these properties yet for the GridGroupingControl but you can try and access the underlying GridModel and make changes there directly. For the ActivateCurrentCellBehavior try the groupingGrid.TableModel.Options.ActivateCurrentCellBehavior that should work. TableModel.Options also has the ExcelLikeSelectionFrame property, but I am not sure if excel-like selection will work. I never tested that. Stefan

Daniel Chait
Replied On July 1, 2004 12:53 PM

Thanks. I set those options which seems to help, however i can''t seem to be able to select >1 cell. In other words when I shift-select or ctrl-select, the active cell just moves but I dont end up selecting a range...

Daniel Chait
Replied On July 6, 2004 09:34 AM

Any update on this??

Administrator [Syncfusion]
Replied On July 6, 2004 12:11 PM

Daniel, try the following code: this.groupingGrid1.TableOptions.AllowSelection = GridSelectionFlags.Any; this.groupingGrid1.TableModel.Options.ExcelLikeSelectionFrame = true; this.groupingGrid1.TableModel.Options.ExcelLikeCurrentCell = true; this.groupingGrid1.TableControl.ExcelLikeFrameSelections = new GridPaintExcelLikeSelection(this.groupingGrid1.TableControl); It''s because the TableControl does not check for the GridControllerOptions.ExcelLikeSelection controller, but you can manually instantiate and associate the controller by assigning it to TableControl.ExcelLikeFrameSelections Stefan

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.

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.

;