Interface: SortComparators

Oracle® JavaScript Extension Toolkit (JET)
11.0.0

F37993-01

Since:
  • 4.1.0
Module:
  • ojarraydataprovider

QuickNav

Fields

Usage

Signature:

interface SortComparators<D>

Generic Parameters
ParameterDescription
DType of Data
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;

For additional information visit:


Fields

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

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