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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Selecting row programmatically in GGC

Thread ID:





25005 Feb 16,2005 11:24 AM UTC Feb 16,2005 03:48 PM UTC WinForms 3
Tags: GridControl
Jose Egea
Asked On February 16, 2005 11:24 AM UTC

How can I select a row in a GGC when I change the current record using SetCurrent() method or using TableControl.CurrentCell.MoveTo(..) in the grid? Thanks in advance

Administrator [Syncfusion]
Replied On February 16, 2005 12:52 PM UTC

In, try setting these properties to see if this does what you want. this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.One; this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.None;

Jose Egea
Replied On February 16, 2005 01:10 PM UTC

Thanks Clay, but it doesn''t work and I''m using version. It works with mouse clicks and arrow cursors, but not programmatically with record.SetCurrent(). Using this method selected line stays in the same position while triangle header changes to the new current record. Any suggestions?

Administrator [Syncfusion]
Replied On February 16, 2005 03:48 PM UTC

When you call record.SetCurrent, also try calling record.SetSelected(true).


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

Live Chat Icon For mobile
Live Chat Icon