Skip to content

Latest commit

 

History

History
45 lines (19 loc) · 2.23 KB

File metadata and controls

45 lines (19 loc) · 2.23 KB

Smart Multi Edit

SmartMultiEdit enables you to perform mass editing operations on objects that have the same structure.

With SmartMultiEdit, you can edit multiple homogeneous objects simultaneously. It allows you to select a field value from a combo box for all objects being edited. SmartMultiEdit can also handle metadata for a specific OData property when you need to enable mass editing for multiple contexts.

SmartMultiEdit consists of two controls:

  • SmartMultiEdit.Field – A field that allows you to select a new value and apply it to the selected objects that include this field in their structure.

  • SmartMultiEdit.Container – A container that provides the layout and context bindings for the SmartMultiEdit fields it includes.

Smart Multi Edit Fields in a Smart Form Dialog

For more information, see the API Reference and the Sample.

Implementation and Layout

  • You can implement SmartMultiEdit along with a smart table, adding a button for it to the smart table's toolbar. When you click the button, a dialog appears that contains a smart form with editable SmartMultiEdit fields.

  • To specify the layout of the smart form dialog that contains the SmartMultiEdit fields, use the layout aggregation in the SmartMultiEdit.Container control.

Data Binding

  • You can define the context binding and the OData entity set for your multi edit fields using the contexts and entitySet properties in the SmartMultiEdit.Container control.

  • To specify the OData property related to a specific SmartMultiEdit field, use the propertyName property of the SmartMultiEdit.Field control.