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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Current Cell behavior incorrect after Rows.RemoveRange()

Thread ID:





7075 Sep 11,2003 10:10 AM UTC Sep 16,2003 09:18 AM UTC WinForms 5
Tags: GridControl
Eric Duesing
Asked On September 11, 2003 10:10 AM UTC

Using the example code, if you select single cell from the grid (column 1) and click the 'delete' button, the rows are deleted using Rows.RemoveRange(). Then, if you use the tab key to set focus back to the grid, the current cell shows the OLD value of the current cell, not the new value. Is this a bug? Is there anyway to prevent this?

Administrator [Syncfusion]
Replied On September 11, 2003 10:36 AM UTC

You can avoid this problem by placing this code at the top of your button handler to make sure you deactivate the currentcell before you remove rows.
GridCurrentCell cc = this.gridControl1.CurrentCell;

Eric Duesing
Replied On September 15, 2003 09:27 AM UTC

Nope. Given the sample I attached it still has the problem.

Administrator [Syncfusion]
Replied On September 15, 2003 03:43 PM UTC

I tried you code with the additional line with version, and did not have the problem. Attached is the ptoject I used. What version are you using, and I'll try that one to see if I do have the problem.

Eric Duesing
Replied On September 16, 2003 08:42 AM UTC

I have and it DOES have the problem with the sample you sent. If I click on a cell and click the delete button, then click on another cell, the original value of the cell that was deleted is shown. How do I get the latest patches?

Administrator [Syncfusion]
Replied On September 16, 2003 09:18 AM UTC

To get a private patch like, you should submit a Direct Trac incident requesting it.


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

Live Chat Icon For mobile
Live Chat Icon