Tracking of data changes [message #1840302] |
Mon, 12 April 2021 07:43 |
Alexandra Tritean Messages: 37 Registered: March 2020 |
Member |
|
|
Hello,
I'm trying to integrate the functionality of tracking data changes in my grids and I have used Tutorial Examples -> Integration -> EditableSortableGroupByWithFilterExample as reference.
What is implemented there works as expected also in my grids, but I have a 'special' situation that I'm not sure how to handle. I have a custom theme configuration in order to be able to apply a custom style (strikethrough) in some conditions.
I have adapted EditableSortableGroupByWithFilterExample a bit in order to illustrate my case.
You will see that the married persons will be marked with a strikethrough style and on top of a married person there will be a context menu option 'Divorced' and on top of a person that is not married there will be a context menu option 'Married'.
(This is a bit forced and funny for this example, but I wanted to use as base an example that you're familiar with . In my case I'm using this style for marking stuff deprecated).
After using those two options from context menu ("Married"/"Divorced") the discard changes functionality will not revert the changes.
Is there a way in which I can integrate those two concepts or is there another way in which I should implement the strikethrough style in order to be tracked?
Thank you!
Kind Regards,
Alexandra
[Updated on: Mon, 12 April 2021 07:44] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03584 seconds