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

ggc multiple selection only to the childTable

Thread ID:





40432 Feb 2,2006 04:29 PM UTC Feb 3,2006 07:34 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On February 2, 2006 04:29 PM UTC

Hello, i have a gridGroupingControl with a datasource that contains three tables (parent->child->grandChild), i want to permit mutiple selection only to the child level in the grid, i tried : this.TableOptions.AllowSelection = GridSelectionFlags.None; this.TableOptions.ListBoxSelectionCurrentCellOptions = GridListBoxSelectionCurrentCellOptions.None; gridGrouping.GetTableDescriptor("ChildTable").TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended; but it does not work, could u please help me with that Thank you very much in advance,

stanleyj [Syncfusion]
Replied On February 3, 2006 07:34 AM UTC

Hi, You can cancel the selection in the SelectedRecordsChanging event based on the TableDescriptor name. this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.None; this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended; private void gridGroupingControl1_SelectedRecordsChanging(object sender, SelectedRecordsChangedEventArgs e) { if(e.Table.TableDescriptor.Name != "ChildTable") { e.Cancel = true; } } Also refer this article below to know the selection types of GGC. http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=344 Best regards, Stanley


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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