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

De-select row in GDBG

Thread ID:

Created:

Updated:

Platform:

Replies:

34725 Sep 15,2005 06:38 AM UTC Sep 19,2005 11:13 AM UTC Windows Forms 3
loading
Tags: GridControl
Atith Pagdi
Asked On September 15, 2005 06:38 AM UTC

Hi, I''ve bound a DataTable to a GDBG. When data is loaded for the first time, the first datarow (a multirow record) is preselected by default. Can I specify a property so that this DOESN''T happen? Please advise. Thanks, Atith

Atith Pagdi
Replied On September 15, 2005 07:45 AM UTC

Can anyone reply to this query?? Thanks, Atith

Administrator [Syncfusion]
Replied On September 15, 2005 11:05 AM UTC

Hi Atith, GridDataBoundGrid will have only one cell in focus when loaded first time. If you have set ListBoxSelectionMode to SelectionMode.One you will have the first row selected. If you wish to move the current cell and the selections. Try this code below this.gridDataBoundGrid1.CurrentCell.MoveTo(-1,-1); this.gridDataBoundGrid1.Selections.Clear(); Best regards, Stanley

Atith Pagdi
Replied On September 19, 2005 11:13 AM UTC

Thanks! That worked!

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

;