- Show Changed Value Only Field
Show Changed Value Only Field
* Requires WOW 7.04
Introduction
The field descriptor has a setting in the Field Class property called Show Changed Value Only and can be set on any desired field that you want to only render that value only once for each occurrence. For example, let’s say you have a list of departments and you want to know what city or state each department is located in. If there are multiple departments that are in the same city or state, you would only want to display that city or state once to have a cleaner detailed view without looking cluttered. The Show Changed Value Only setting under the Field Class property will allow this to happen.
example: the State and City fields would have the setting of Show Changed Value Only in the Field Class property.
Another example could be that you have a list of departments and the employees that belong to each department. You wouldn't want to keep displaying which department each employee belongs to, if there are a bunch of employees that belong to the same department.
example: the Departments, Manager, and Dept. Phone fields would have the Show Changed Value Only setting on its Field Class property.
How to Set Up
create Operation
Insert the Operation (click Insert at the top or bottom of the Operation Manager)
example:
choose the desired field(s) for this feature
click on the field descriptor icon
example:
set the Field Class property to: Show Changed Value Only
click Update at the top or bottom of the field descriptor manager.
repeat for each field desired
example:
The java field subclass class that implements this feature is: planetj.database.field.DisplayChangedValuesOnly
Below is the finished product and how it will look.
example: