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.

De-select row in GDBG

Thread ID:





34725 Sep 15,2005 02:38 AM Sep 19,2005 07:13 AM Windows Forms 3
Tags: GridControl
Atith Pagdi
Asked On September 15, 2005 02:38 AM

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 03:45 AM

Can anyone reply to this query?? Thanks, Atith

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

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

Thanks! That worked!


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.