You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Plugins/api/page.jumpToData().min.js

2 lines
661 B
JavaScript

/*! © SpryMedia Ltd - datatables.net/license */
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(e,t,n,r){"use strict";e=e.fn.dataTable;return e.Api.register("page.jumpToData()",function(e,t){t=this.column(t,{order:"current"}).data().indexOf(e);return 0<=t&&(e=Math.floor(t/this.page.info().length),this.page(e).draw(!1)),this}),e});