MX-Frame Library Send comments on this topic.
Clone
See Also
MX-Developer > Data Access Layer - MxAdapter > Designing Data Source > Schema > Designing a Field > Clone

Glossary Item Box

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

  1. Open appropriate adapter (ProceduresAdapter) in Solution Explorer.
  2. Select the desired field (Code) in the appropriate data source schema (Procedures).
  3. Set Cloneable property to False.

See Also

©2009 Metronik. All Rights Reserved.