Record in a grid can be copied in order to provide faster and more efficient manner of data editing. For each field it is possible to define whether the field's value is copied or not.
Clone a Field
User requirements specify that a field cannot be cloned when a record is copied. In order to achieve this set Cloneable property of the field to False.
Example (MxSpace)
In the user interface for managing procedure field Code cannot be cloned. To see the implementation of a clone field in MxSpace application click Production -> Procedures. Select a row and click Copy in navigation toolbar. See that in the editor values for all records are copied except for the field ID.
To make a field not visible in edit mode
- Open appropriate adapter (ProceduresAdapter) in Solution Explorer.
- Select the desired field (Code) in the appropriate data source schema (Procedures).
- Set Cloneable property to False.