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

De-select row in GDBG

Thread ID:





34725 Sep 15,2005 06:38 AM UTC Sep 19,2005 11:13 AM UTC WinForms 3
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!


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