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.

Obtaining a dynamic reference to a cell

Thread ID:

Created:

Updated:

Platform:

Replies:

36520 Nov 1,2005 09:05 PM Nov 2,2005 03:56 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On November 1, 2005 09:05 PM

Hi, Is it possible to obtain a reference to a cell (styleinfo or range) that will always point to that cell even when it is moved around due to drag/drop or insertions/deletions? I noticed that a GridStyleInfo has a CellIdentity but it does not update if you, for example, insert a row. Is there a way to tell it to refresh? Thanks.

Administrator [Syncfusion]
Replied On November 2, 2005 03:56 AM

The short answer is no, there is no support for this in GridStyleInfo. If you want to try to do something like this, then the first comment is that you will either have to work with a non-virtual GridControl or you will have to manage a datastore of your choosing to track this information. The reason is that a non-virtual GridControl is the only grid that maintains a cell by cell datastore. With such a grid, you could initialize a style.Tag object that holds the row/column information you are interested in for a particular cell.

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.

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.

;