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.

Selecting row programmatically in GGC

Thread ID:

Created:

Updated:

Platform:

Replies:

25005 Feb 16,2005 06:24 AM Feb 16,2005 10:48 AM Windows Forms 3
loading
Tags: GridControl
Jose Egea
Asked On February 16, 2005 06:24 AM

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 07:52 AM

In 3.0.1.0, 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 08:10 AM

Thanks Clay, but it doesn''t work and I''m using 3.0.1.0 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 10:48 AM

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

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.

;