Interface: SortCriterion

Oracle® JavaScript Extension Toolkit (JET)
16.1.0

F92237-01

Since:
  • 4.1.0
Module:
  • ojdataprovider

QuickNav

Fields

Description

Defines the sort criterion objects in FetchListParameters#sortCriteria


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