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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Selecting row programmatically in GGC

Thread ID:

Created:

Updated:

Platform:

Replies:

25005 Feb 16,2005 11:24 AM UTC Feb 16,2005 03:48 PM UTC WinForms 3
loading
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 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 01:10 PM UTC

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 03:48 PM UTC

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.

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

;