Interface: SortCriterion

Oracle® JavaScript Extension Toolkit (JET)
10.0.0

F32683-01

Since:
  • 4.1.0
Module:
  • ojdataprovider

QuickNav

Fields

Description

Defines the sort criterion objects in FetchListParameters#sortCriterion


Usage

Signature:

interface SortCriterion<D>

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

For additional information visit:


Fields

attribute :keyof D

sort attribute upon which the data should be sorted.
Since:
  • 4.1.0

direction :string

sort direction, either "ascending" or "descending".
Since:
  • 4.1.0