/*! © SpryMedia Ltd - datatables.net/license */ /** * This function will restore the order in which data was read into a DataTable * (for example from an HTML source). Although you can set `dt-api order()` to * be an empty array (`[]`) in order to prevent sorting during initialisation, * it can sometimes be useful to restore the original order after sorting has * already occurred - which is exactly what this function does. * * Please note that this plug-in can only be used for client-side processing * tables (i.e. without `serverSide: true`). * * @name order.neutral() * @summary Change ordering of the table to its data load order * @author [Allan Jardine](http://datatables.net) * @requires DataTables 3+ * * @returns {DataTables.Api} DataTables API instance * * @example * // Return table to the loaded data order * table.order.neutral().draw(); */ import { Api } from 'datatables.net'; declare module 'datatables.net' { interface ApiOrder { /** Average the values in a data set. */ neutral(this: Api): Api; } }