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

Retrieving cell''s last contents

Thread ID:





17808 Aug 17,2004 05:51 PM UTC Aug 17,2004 07:53 PM UTC WinForms 2
Tags: Grouping
Clario Menezes
Asked On August 17, 2004 05:51 PM UTC

Hi, Suppose I have a cell that''s displayed in a grouping grid, and it has the value ''a'' in it. Now the user comes along, clicks on the cell, types another value, ''b'', into the cell, and then either hits Enter or removes focus from that cell. What I''d like to be able to do is efficiently (memory-wise) store a and b in an object. I''ve tried using several TableControlCurrentCell events, and have looked at the TableControl property of the EventArgs parameters passed into the handlers, but can''t seem to find the right properties/methods I need to do this. Is there any way to get what I need without creating data structures that store old and new values, and without events that are raised with every key pressed while a cell has focus? I would greatly appreciate any assistance. - Clario

Administrator [Syncfusion]
Replied On August 17, 2004 06:58 PM UTC

Hi Clario, try TableControl.Table.CurrentRecordManager.Properties[fieldName].OriginalValue and TableControl.Table.CurrentRecordManager.Properties[fieldName].ModifiedValue However, these properties are only available for the current record. Stefan

Administrator [Syncfusion]
Replied On August 17, 2004 07:53 PM UTC

Thanks for the reply, Stefan. Is there no way to get a cell''s old an new contents, irrespective of where the focus moves to? If not, I think this would be a very useful feature to put into a future release. - Clario


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