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

GGC Selection

Thread ID:

Created:

Updated:

Platform:

Replies:

38044 Dec 5,2005 12:42 PM UTC Dec 6,2005 07:28 AM UTC Windows Forms 3
loading
Tags: GridControl
resmi
Asked On December 5, 2005 12:42 PM UTC

Hi Iam using GGC.I want to know how to get the multiple records that are selected by pressing Ctrl & left mouse click.Here Iam not selecting the continuous records. Thanks rv

stanleyj [Syncfusion]
Replied On December 5, 2005 01:47 PM UTC

Hi, Try this. this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.None; this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended; Best regards, Stanley

resmi
Replied On December 6, 2005 04:24 AM UTC

hi Iam getting the records as selected.But what actually I want is the data in those selected records .these recors may be continuous one or alternate one thanks >Hi, > >Try this. > this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.None; > this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended; > >Best regards, >Stanley

stanleyj [Syncfusion]
Replied On December 6, 2005 07:28 AM UTC

Hi, You could try this. foreach(SelectedRecord r in this.gridGroupingControl1.Table.SelectedRecords ) Console.WriteLine(r.Record); foreach(SelectedRecord r in this.gridGroupingControl1.Table.RelatedTables[0].SelectedRecords ) Console.WriteLine(r.Record); foreach(SelectedRecord r in this.gridGroupingControl1.Table.RelatedTables[0].RelatedTables[0].SelectedRecords ) Console.WriteLine(r.Record); Here is a small sample. Best regards, Stanley

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

;