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

Obtaining a dynamic reference to a cell

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.

1 Reply

AD Administrator Syncfusion Team November 2, 2005 08:56 AM UTC

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.

Loader.
Live Chat Icon For mobile
Up arrow icon