Interface: DataProviderAddOperationEventDetail

Oracle® JavaScript Extension Toolkit (JET)
8.1.0

F24337-01

Signature:

interface DataProviderAddOperationEventDetail<K, D> extends DataProviderOperationEventDetail<K, D>

QuickNav

Fields


DataProviderAddOperationEventDetail

Version:
  • 8.1.0
Since:
  • 4.2.0
Module:
  • ojdataprovider

Module usage

See JET Module Loading for an overview of module usage within JET.

Typescript Import Format
//To use this interface, import as below.
import {DataProviderAddOperationEventDetail} from "ojs/ojdataprovider";
Generic Parameters
ParameterDescription
KType of Key
DType of Data

JET In Typescript

A detailed description of working with JET elements and classes in your typescript project can be found at: JET Typescript Usage.

Fields

(nullable) addBeforeKeys :K[]

Optional array of keys for items located after the items involved in the operation. They are relative to after the operation was completed and not the original array.If null and index not specified then insert at the end.
Since:
  • 6.0.0

(nullable) afterKeys :Set<K>

Optional set of keys for items located after the items involved in the operation. They are relative to after the operation was completed and not the original array. If null and index not specified then insert at the end.
Deprecated:
Since Description
6.0.0 Use addBeforeKeys instead. addBeforeKeys is an Array instead of a Set.
Since:
  • 6.0.0

(nullable) data :D[]

Optional data of items involved in the operation
Since:
  • 4.2.0
Inherited From:

(nullable) indexes :number[]

Optional indexes of items involved in the operation. They are relative to after the operation was completed and not the original array.
Since:
  • 4.2.0
Inherited From:

keys :Set<K>

keys of items involved in the operation
Since:
  • 4.2.0
Inherited From:

(nullable) metadata :Array<ItemMetadata<K>>

Optional metadata of items involved in the operation
Since:
  • 4.2.0
Inherited From:

(nullable) parentKeys :K[]

Keys of parents for the items involved in the operation.

If this property is undefined, the items involved in the operation have no parent. This is the case for non-hierarchical DataProvider implementatons such as ArrayDataProvider.

If this property has a value, each entry in the array represents the parent key of the corresponding item. A parent key of null indicates that the item is at the root level. TreeDataProvider implementations should always set this property.

Since:
  • 6.0.0