The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team 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
ADAdministrator Syncfusion Team 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