Overview

This action allows you to duplicate the selected rows of a DataTable while you’re in Create or Edit mode.  This is useful for copying line items whose data is mostly the same to avoid tedious data entry. Valid page components for this action are:

  • ActionButton – use the onClick property.

Properties

PropertyDescription
actionNameSet this to “duplicateSelected” to use this action.
nameThe name of the DataTable whose content will be downloaded.

Example

Add the following to your component:

"onClick": {
  "actionName": "duplicateSelected", 
  "name": "ITEMS"
}