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.

Retrieving cell''s last contents

Thread ID:

Created:

Updated:

Platform:

Replies:

17808 Aug 17,2004 01:51 PM Aug 17,2004 03:53 PM Windows Forms 2
loading
Tags: Grouping
Clario Menezes
Asked On August 17, 2004 01:51 PM

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 02:58 PM

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 03:53 PM

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

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.

;