Overview

This action allows you to extract selected rows of a DataTable to another dataset. For example, you have a list of open receivables to be paid, but you only want to select a subset of the receivables and pay them. This action typically precedes the showModal action, which allows you to see the extracted dataset in another view. Valid page components for this action are:

  • ActionButton – use the onClick property.

Properties

PropertyDescription
actionSet this to “extractSelected” to use this action.
nameThe name of the DataTable whose selected rows will be extracted.
toThe name of the new dataset in the Redux data store.

Example

Add the following to your component:

"onClick": {
  "actionName": "extractSelected", 
  "name": "ITEMS", 
  "to": "ITEMS_TO_BE_PAID"
}