Interface: SortComparators

Oracle® JavaScript Extension Toolkit (JET)
7.1.0

F18183-01

Signature:

interface SortComparators<D>

QuickNav

Fields


PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

SortComparators

Version:
  • 7.1.0
Since:
  • 4.1.0
Module:
  • ojarraydataprovider

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 ArrayDataProvider= require("ojs/ojarraydataprovider");

//To access this interface in your code,
let myVariable: ArrayDataProvider.SortComparators;
Generic Parameters
ParameterDescription
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

comparators :Map<keyof D, (a: any, b: any) => number>

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

Sort comparators. Map of attribute to comparator function.
Since:
  • 4.1.0