OTRS API Reference JavaScript

Namespace: Core.UI.Table.Sort

Core.UI.Table. Sort

This namespace contains all functions for client side table sorting.
Author:
  • OTRS AG
Source:

Methods

(static) Init($Table, Finished)

This function initializes the table sorting. If you have cells with special content like dates, you can put a hidden field with the class 'SortData' in them which contains a sortable text representation like an ISO date. This will then be used for the sorting.
Parameters:
Name Type Description
$Table jQueryObject The table element which should be sorted.
Finished function An optional function, called after the sorting.
Source: