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

GridDataBoundGrid defaults to 1st row selected after DataSource set.

Thread ID:





94807 Jun 2,2010 04:11 PM UTC Jun 3,2010 07:17 AM UTC WinForms 1
Tags: GridControl
Jeff Voigt
Asked On June 2, 2010 04:11 PM UTC

Is there a way I can disable that feature? I don't want any rows to be selected after the DataSource is set.

I know I could set the selections to 0 after the DataSource but I would rather not have the activated cell event fire off (from the DataSource set). That would throw a lot of coders off when we are wrapping this up into another object.


Nirmal Raja [Syncfusion]
Replied On June 3, 2010 07:17 AM UTC

Hi Jeff,

Thank you for your interest in Syncfusion products.

The selection of the cells can be removed by clearing the Selections of the GridDataBoundGrid, at the same time a current cell can be activated by moving the current cell to the corresponding row index and column index.

Please refer the code below:
gridDataBoundGrid1.CurrentCell.MoveTo(1, 1);

Let me know if you have any queries.



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

or the page will be automatically redirected to 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